/* Momentum Commerce Styles */

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-dark: #1D2434;
    --primary-light: #F9FAFF;
    --accent-orange: #FF7A00;
    --accent-teal: #00C49A;
    --grey: #CED4DA;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    
    /* Shadows and Effects */
    --shadow-subtle: 0 4px 6px rgba(29, 36, 52, 0.1);
    --shadow-hover: 0 8px 25px rgba(29, 36, 52, 0.15);
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-subtle);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    font-size: 1.5rem;
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-weight: 500;
    margin-top: 2px;
}

.brand-info {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.nav-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition);
}

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

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background: #E66A00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.cta-button.xl {
    padding: 24px 48px;
    font-size: 1.2rem;
}

/* Savings Hero Section */
.savings-hero {
    position: relative;
    overflow: hidden;
}

.savings-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 122, 0, 0.05) 70%);
    pointer-events: none;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Cost Card Hover Effects */
.cost-card {
    transition: all 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .savings-hero h1 {
        font-size: 2.5rem !important;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .cost-card {
        margin-bottom: 2rem;
        transform: none !important;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Touch-friendly UI */
@media (hover: none) and (pointer: coarse) {
    .cta-button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem;
    }
}

/* Performance optimizations */
.hero {
    will-change: transform;
}

.cost-card {
    will-change: transform, box-shadow;
}

/* Accessibility improvements */
.cta-button:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Navigation breadcrumb styles */
.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-orange);
}

/* Business information highlighting */
.business-hours {
    background: var(--accent-teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.certification-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Service link styling */
.service-link {
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.service-link:hover {
    border-bottom: 2px solid var(--accent-orange);
    transform: translateX(5px);
}

.cta-button.primary {
    background: var(--accent-orange);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.cta-button.secondary:hover {
    background: var(--accent-orange);
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 var(--section-padding);
    background: linear-gradient(135deg, var(--primary-light) 0%, #E8F0FE 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    opacity: 0.8;
}

/* Performance Dashboard */
.performance-dashboard {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 193, 222, 0.2);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(206, 212, 218, 0.3);
}

.dashboard-header h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    background: var(--accent-teal);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    animation: pulse-slow 3s infinite;
}

.metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    text-align: center;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
    border: 1px solid rgba(206, 212, 218, 0.2);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--primary-dark);
    opacity: 0.7;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    animation: countUp 3s ease-out;
}

.metric-value.decreasing {
    color: var(--accent-teal);
}

.metric-value.increasing {
    color: var(--accent-orange);
}

.metric-trend {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.progress-bars {
    space-y: 1rem;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(206, 212, 218, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-teal), var(--accent-orange));
    border-radius: 4px;
    animation: fillProgress 2.5s ease-out;
    transform-origin: left;
}

/* Credentials Section */
.credentials {
    padding: var(--section-padding);
    background: var(--primary-light);
    text-align: center;
}

.credentials h2 {
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.credential-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.credential-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.credential-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.credential-item h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.credential-item p {
    color: var(--primary-dark);
    opacity: 0.8;
    margin: 0;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: var(--section-padding);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(206, 212, 218, 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--primary-dark);
    opacity: 0.8;
    margin: 0;
}

/* Approach Section */
.approach {
    padding: var(--section-padding);
    background: var(--primary-dark);
    color: var(--white);
}

.approach h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.approach-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.approach-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.approach-card p {
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.9;
    font-weight: 600;
}

.approach-detail {
    font-size: 0.9rem;
    opacity: 0.7 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background: var(--primary-light);
}

.process h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: start;
    position: relative;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
}

.step h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.step p {
    color: var(--primary-dark);
    opacity: 0.8;
    margin: 0;
}

.step-connector {
    display: none; /* Hidden on mobile, shown on desktop via media queries */
}

/* Why Choose Us */
.why-choose {
    padding: var(--section-padding);
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reason-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border: 1px solid rgba(206, 212, 218, 0.3);
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.reason-icon i {
    font-size: 2rem;
    color: var(--white);
}

.reason-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--primary-dark);
    opacity: 0.8;
    margin: 0;
}

/* Final CTA */
.final-cta {
    padding: var(--section-padding);
    background: var(--accent-orange);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.final-cta .cta-button {
    background: var(--white);
    color: var(--accent-orange);
}

.final-cta .cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-teal);
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes countUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fillProgress {
    from {
        width: 0%;
    }
    to {
        width: var(--progress-width, 100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-subtle);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .data-visualization {
        height: 300px;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .testimonial-content {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding-top: 120px;
    }

    .cta-button.large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .cta-button.xl {
        padding: 20px 40px;
        font-size: 1.1rem;
    }

    .service-card,
    .result-card {
        padding: 2rem 1.5rem;
    }
}

/* Process connectors for desktop */
@media (min-width: 769px) {
    .process-steps {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        align-items: center;
    }

    .step-connector {
        display: block;
        width: 60px;
        height: 2px;
        background: var(--accent-teal);
        position: relative;
    }

    .step-connector::after {
        content: '';
        position: absolute;
        right: -5px;
        top: -3px;
        width: 0;
        height: 0;
        border-left: 8px solid var(--accent-teal);
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
    }
}