/* ============================================
   BidHero Marketing Website - Custom Styles
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --success-color: #059669;
    --success-dark: #047857;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900) !important;
    padding: 0.5rem 0;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand i {
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(5, 150, 105, 0.05));
    border-radius: 0 0 0 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-item i {
    font-size: 2rem;
}

.stat-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.stat-item small {
    display: block;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.cta-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Hero Image */
.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 50%;
    overflow: hidden;
    z-index: 1;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.floating-cards-container {
    position: relative;
    height: 600px;
    z-index: 3;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card strong {
    display: block;
    font-size: 1rem;
    color: var(--gray-900);
}

.floating-card small {
    display: block;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.problem-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.problem-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
}

.platform-features {
    margin-top: 2rem;
}

.platform-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.platform-feature i {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.platform-feature h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.platform-feature p {
    color: var(--gray-600);
    margin: 0;
}

/* Platform Diagram */
.platform-diagram {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.diagram-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.diagram-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diagram-box h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.diagram-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diagram-box li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    padding-left: 1.5rem;
    position: relative;
}

.diagram-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.contractor-box {
    border-top: 4px solid var(--primary-color);
}

.contractor-box i {
    color: var(--primary-color);
}

.customer-box {
    border-top: 4px solid var(--success-color);
}

.customer-box i {
    color: var(--success-color);
}

.diagram-arrow {
    font-size: 2rem;
    color: var(--gray-400);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card.featured {
    border: 2px solid var(--primary-color);
}

.badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--success-color);
    font-size: 1rem;
}

/* Customer Portal Section */
.customer-portal-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.portal-mockup {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.browser-bar {
    background: var(--gray-200);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.browser-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
}

.portal-content {
    padding: 2rem;
}

.portal-content h3 {
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.portal-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.portal-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.portal-feature-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.portal-feature-item strong {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.portal-feature-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* Differentiators */
.differentiator {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.diff-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.differentiator h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.differentiator p {
    color: var(--gray-600);
    margin: 0;
}

/* Customer Journey */
.customer-journey {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.journey-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.journey-step i {
    font-size: 2.5rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.journey-step h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.journey-step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.benefit-icon.time {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.benefit-icon.money {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
}

.benefit-icon.insights {
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
}

.benefit-card h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.benefit-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.metric strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric span {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
    font-weight: 600;
}

.testimonial-author small {
    display: block;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 2rem;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.price {
    margin: 1.5rem 0;
}

.price .currency {
    font-size: 2rem;
    vertical-align: top;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.price .period {
    font-size: 1.25rem;
    opacity: 0.9;
}

.pricing-header p {
    margin: 0;
    opacity: 0.9;
}

.price-subtext {
    margin-top: 0.5rem !important;
    font-size: 0.95rem !important;
    opacity: 0.95 !important;
    font-weight: 600 !important;
}

.pricing-features {
    padding: 2rem;
    min-height: 500px;
}

.pricing-features .feature {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-features .feature:last-child {
    border-bottom: none;
}

.pricing-features .feature i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.pricing-card .btn {
    margin-bottom: 0;
}

/* Featured Plan Styling */
.featured-plan {
    position: relative;
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    white-space: nowrap;
    z-index: 10;
}

.featured-plan .pricing-header {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
}

/* ROI Calculator */
.roi-calculator {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.roi-metric {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--gray-100);
    height: 100%;
    transition: all 0.3s ease;
}

.roi-metric:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.roi-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.roi-icon i {
    font-size: 1.75rem;
}

.roi-content h5 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.roi-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.roi-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.roi-value span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-left: 0.25rem;
}

.roi-total {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.roi-total-content {
    text-align: center;
}

.roi-total-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.roi-total-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.roi-divider {
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 2rem auto;
    border-radius: 2px;
}

.roi-investment,
.roi-return {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 1.125rem;
}

.roi-investment span,
.roi-return span {
    opacity: 0.9;
}

.roi-investment strong,
.roi-return strong {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-features i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.cta-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cta-form h4 {
    color: var(--gray-900);
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--gray-900);
    background: white;
}

.accordion-button:not(.collapsed) {
    background: var(--gray-50);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.85);
}

.footer p {
    color: rgba(255, 255, 255, 0.85);
}

.footer h5, .footer h6 {
    color: white;
}

.footer img {
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer img:hover {
    opacity: 1;
}

.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.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0.5rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */

/* Mobile First Improvements - Small Phones (up to 576px) */
@media (max-width: 576px) {
    /* Typography - Extra small screens */
    .display-3 {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .display-5 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .lead {
        font-size: 1rem !important;
    }

    /* Hero Section - Mobile */
    .hero-section {
        padding-top: 60px;
        min-height: auto !important;
    }

    .hero-section .row {
        min-height: auto !important;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 1.5rem !important;
    }

    .stat-item {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .stat-item i {
        font-size: 1.5rem;
    }

    .stat-item strong {
        font-size: 1rem;
    }

    .stat-item small {
        font-size: 0.75rem;
    }

    /* CTA Buttons - Stack vertically on mobile */
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        margin: 0 !important;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Hide floating cards on mobile */
    .floating-cards-container {
        display: none;
    }

    /* Hero Image - Better mobile display */
    .hero-image-container {
        width: 100%;
        height: 300px;
        position: relative;
        margin-top: 2rem;
        border-radius: 1rem;
    }

    .hero-image-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.15);
        z-index: 1;
    }

    /* Navigation */
    .navbar-brand img {
        max-height: 32px;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem;
    }

    /* Problem Cards */
    .problem-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .problem-card i {
        font-size: 2rem;
    }

    .problem-card h5 {
        font-size: 1.1rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .feature-card h4 {
        font-size: 1.25rem;
    }

    /* Platform Features */
    .platform-feature {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .platform-feature i {
        font-size: 2rem;
    }

    /* Differentiators */
    .differentiator {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .diff-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    /* Customer Journey */
    .customer-journey {
        padding: 2rem 1rem;
    }

    .journey-step {
        margin-bottom: 2rem;
    }

    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .journey-step i {
        font-size: 2rem;
    }

    /* Benefits Section */
    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .benefit-icon {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }

    .benefit-card h3 {
        font-size: 1.25rem;
    }

    .metric {
        padding: 0.75rem;
    }

    .metric strong {
        font-size: 1.25rem;
    }

    /* Pricing Cards */
    .pricing-card {
        margin-top: 1.5rem;
    }

    .pricing-header {
        padding: 2rem 1.5rem;
    }

    .price .currency {
        font-size: 1.5rem;
    }

    .price .amount {
        font-size: 3rem;
    }

    .price .period {
        font-size: 1rem;
    }

    .pricing-features {
        padding: 1.5rem;
        min-height: auto;
    }

    .pricing-footer {
        padding: 0 1.5rem 1.5rem;
    }

    .featured-plan {
        transform: scale(1);
    }

    .pricing-badge {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
    }

    /* ROI Calculator */
    .roi-calculator {
        padding: 2rem 1rem;
    }

    .roi-metric {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .roi-icon {
        width: 50px;
        height: 50px;
    }

    .roi-icon i {
        font-size: 1.5rem;
    }

    .roi-value {
        font-size: 1.5rem;
    }

    .roi-total {
        padding: 2rem 1rem;
    }

    .roi-total-value {
        font-size: 2rem;
    }

    .roi-investment,
    .roi-return {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1rem;
    }

    .roi-investment strong,
    .roi-return strong {
        font-size: 1.25rem;
    }

    /* Login Cards */
    .login-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .login-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .login-card-title {
        font-size: 1.5rem;
    }

    /* CTA Features */
    .cta-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cta-features li {
        font-size: 0.95rem;
    }

    /* Portal Mockup */
    .portal-mockup {
        margin-top: 2rem;
    }

    .portal-content {
        padding: 1.5rem;
    }

    .portal-content h3 {
        font-size: 1.25rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    /* FAQ */
    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 0.95rem;
        padding: 1rem;
    }

    /* Footer */
    .footer {
        font-size: 0.9rem;
    }

    /* Document Type Cards */
    .document-type-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .document-type-card i {
        font-size: 2rem;
    }

    .document-type-card h5 {
        font-size: 1rem;
    }

    .document-type-card ul li {
        font-size: 0.85rem;
    }
}

/* Tablets and Small Desktops (577px to 991px) */
@media (min-width: 577px) and (max-width: 991px) {
    .hero-section {
        padding-bottom: 3rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 45%;
    }

    .cta-buttons {
        text-align: center;
    }

    .floating-cards-container {
        height: 400px;
    }

    .platform-diagram {
        margin-top: 3rem;
    }

    .diagram-arrow {
        transform: rotate(90deg);
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    /* Brighten hero image on tablets */
    .hero-image-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.25);
        z-index: 1;
    }

    .hero-main-image {
        filter: brightness(1.2) contrast(0.95);
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* Standard Tablets (768px to 991px) */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons .btn {
        margin: 0.5rem;
    }

    .benefit-card,
    .testimonial-card,
    .feature-card {
        margin-bottom: 1.5rem;
    }

    .problem-card {
        margin-bottom: 1.5rem;
    }

    .differentiator {
        flex-direction: column;
    }

    .diff-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .featured-plan {
        transform: scale(1);
        margin-top: 1rem;
    }

    .pricing-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.5rem;
    }

    .pricing-features {
        min-height: auto;
    }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
    }

    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .accordion-button {
        min-height: 56px;
    }
}

/* Scroll Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility Classes */
.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.rounded-lg {
    border-radius: 1rem !important;
}

/* Contractor Portal Section - Document Type Cards */
.document-type-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.document-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--warning-color);
}

.document-type-card i {
    font-size: 2.5rem;
    color: var(--warning-color);
    margin-bottom: 1rem;
    display: block;
}

.document-type-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.document-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-type-card ul li {
    padding: 0.4rem 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.document-type-card ul li:before {
    content: '\2022';
    color: var(--warning-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* ============================================
   Login Portal Selection Section
   ============================================ */

.login-portal-section {
    background: var(--gray-50);
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.login-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.contractor-card {
    border-color: rgba(37, 99, 235, 0.1);
}

.contractor-card:hover {
    border-color: var(--primary-color);
}

.customer-card {
    border-color: rgba(5, 150, 105, 0.1);
}

.customer-card:hover {
    border-color: var(--success-color);
}

.login-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.contractor-card .login-card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.customer-card .login-card-icon {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    color: white;
}

.login-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-card-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 1rem;
}

.login-card-description {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.login-card-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.login-card-features li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.login-card-features li i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.contractor-card .login-card-features li i {
    color: var(--primary-color);
}

.customer-card .login-card-features li i {
    color: var(--success-color);
}

.login-card .btn {
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
}

.login-card .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .login-card {
        margin-bottom: 1.5rem;
    }
}
