﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1F2937;
    line-height: 1.6;
    background: #FFFFFF;
}

/* Header - Sticky Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #E5E7EB;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.challenge-side h3{
    text-align: start;
}

.solution-side h3{
    text-align: start;
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    font-size: 24px;
    font-weight: 700;
    color: #2563EB;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        padding-bottom: 5px;
        position: relative;
        color: #000;
    }

        .nav-links a:hover {
            color: #2563EB;
        }

.nav-cta {
    background: #2563EB;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

    .nav-cta:hover {
        background: #1D4ED8;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

.hero {
    margin-top: 30px;
    padding: 100px 6rem 50px;
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
}


.hero-container {
    max-width: 1280px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    gap: 0px;
}

    /* Remove default spacing */
    .hero-content h1,
    .hero-content p {
        margin: 0 !important;
        text-align: -webkit-left;
    }

h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
/*    margin-bottom: 1.5rem;*/
    color: #111827;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.7;
    margin-top: 15px;
    margin-bottom: 25px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    max-width: 100%;
}



.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; /* 👈 ye change karo */
    flex-wrap: wrap;
    margin-top: 20px !important;
    width: 100%;
}

.customers-heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

/*.btn-primary {
    background: #2563EB;
    color: white;
    padding: 1rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #2563EB;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #1D4ED8;
        border-color: #1D4ED8;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
    }*/

.btn-secondary {
    background: white;
    color: #2563EB;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-secondary:hover {
        background: #F9FAFB;
        border-color: #2563EB;
        transform: translateY(-2px);
    }

.hero-dashboard {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #E5E7EB;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #F3F4F6;
}

.dashboard-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.dashboard-time {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: #F9FAFB;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

    .metric-card:hover {
        background: #EFF6FF;
        border-color: #2563EB;
        transform: translateY(-2px);
    }

.metric-value {
    font-size: 36px;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.hero-dashboard{
    width: 60%; /* 70% se thoda compact */
    padding: 1.5rem; /* 2.5rem se reduce */
}

.metric-card {
    padding: 1rem; /* 1.75rem se reduce */
}

.metric-value {
    font-size: 28px; /* 36px se thoda chhota */
}

.metric-label {
    font-size: 12px; /* 14px se thoda compact */
}

/* Section Styles */
section {
    padding: 40px 2rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.gray-section {
    background: #F9FAFB;
}

h2 {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pain Points Section */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pain-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: -webkit-center;
}

    .pain-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-color: #2563EB;
    }

.pain-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

    .pain-icon svg {
        width: 28px;
        height: 28px;
        stroke: #2563EB;
        stroke-width: 1.5;
    }

h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.pain-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.7;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    gap: 2rem;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

    .solution-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-color: #2563EB;
    }

.challenge-side {
    padding-right: 1.5rem;
    border-right: 2px solid #F3F4F6;
}

.solution-side {
    padding-left: 1.5rem;
}

.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.challenge-label {
    color: #DC2626;
    background: #FEE2E2;
}

.solution-label {
    color: #059669;
    background: #D1FAE5;
}

.solution-features {
    list-style: none;
    margin-top: 1rem;
}

    .solution-features li {
        padding: 0.5rem 0;
        padding-left: 1.75rem;
        position: relative;
        font-size: 14px;
        color: #4B5563;
        line-height: 1.6;
    }

        .solution-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #2563EB;
            font-weight: 700;
            font-size: 16px;
        }

/* Features Tabs Section */
.tabs-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #E5E7EB;
    overflow-x: auto;
    background: #F9FAFB;
}

.tab-button {
    padding: 1.25rem 2rem;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

    .tab-button:hover {
        color: #2563EB;
        background: #EFF6FF;
    }

    .tab-button.active {
        color: #2563EB;
        background: white;
        border-bottom-color: #2563EB;
    }

.tab-content {
    padding: 2.5rem;
    display: none;
}

    .tab-content.active {
        display: block;
    }

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item {
    padding: 1.25rem;
    background: #F9FAFB;
    border-radius: 8px;
    font-size: 14px;
    color: #4B5563;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    line-height: 1.6;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: #EFF6FF;
        border-color: #2563EB;
        transform: translateX(4px);
    }

    .feature-item:before {
        content: "●";
        color: #2563EB;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        flex-shrink: 0;
    }

/* ROI Section */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.roi-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all 0.3s ease;
}

    .roi-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-color: #2563EB;
    }

.roi-value {
    font-size: 56px;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 1rem;
    line-height: 1;
}

.roi-progress {
    width: 100%;
    height: 10px;
    background: #E5E7EB;
    border-radius: 5px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.roi-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
}

.roi-card.visible .roi-progress-bar {
    width: var(--progress-width);
}

.roi-label {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    font-weight: 500;
}

/* Case Study Section */
.case-study {
    background: white;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #F3F4F6;
}

.case-avatar {
    padding: 20px 28px; /* controls space around text */
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: inline-flex; /* shrink to content */
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: 800;
    color: white;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
    aspect-ratio: 1; /* keeps it perfectly round */
}


.case-info h3 {
    font-size: 28px;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.case-industry {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.case-section {
    padding: 1.5rem;
    border-radius: 12px;
    background: #F9FAFB;
}

    .case-section h4 {
        font-size: 13px;
        font-weight: 700;
        color: #2563EB;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .case-section p {
        font-size: 15px;
        color: #4B5563;
        line-height: 1.8;
    }

.case-results {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #BFDBFE;
    margin-top: 30px;
    margin-left:12px;
    margin-right:12px;
}

    .case-results h4 {
        font-size: 20px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.case-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-result {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

    .case-result:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.case-result-value {
    font-size: 24px;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.case-result-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: 100px 2rem;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

    .final-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 48px;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2.5rem;
    font-weight: 500;
}

.btn-white {
    background: white;
    color: #2563EB;
    border-color: white;
}

    .btn-white:hover {
        background: #F9FAFB;
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    }

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-outline-white:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

/* Footer */
footer {
    background: #111827;
    color: #9CA3AF;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 16px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: #9CA3AF;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #2563EB;
        }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 14px;
}

    .footer-bottom a {
        color: #9CA3AF;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-bottom a:hover {
            color: #2563EB;
        }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.case-study {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap; /* important for mobile */
}

.case-logo {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.case-section {
    flex: 1;
    min-width: 0; /* 🔥 most important fix */
    padding: 15px;
    border-radius: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .case-section p {
        margin: 0;
        line-height: 1.6;
        word-break: break-word;
    }

@media (max-width: 768px) {

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-container{
        margin-top: 35px !important;
    }

    .hero-top {
        flex-direction: column !important;
        gap: 25px;
        text-align: center;
    }

    .hero-content,
    .hero-dashboard {
        width: 100%;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    h2 {
        font-size: 28px !important;
    }

    .hero {
        padding: 60px 1rem 60px;
    }

    section {
        padding: 60px 1rem;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 32px;
    }

    .metrics-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    .solution-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .challenge-side,
    .solution-side {
        padding: 0;
        border: none;
    }

    .challenge-side {
        padding-bottom: 1.5rem;
        border-bottom: 2px solid #F3F4F6;
    }

    .solution-side {
        padding-top: 1.5rem;
    }

    .tabs-header {
        flex-wrap: nowrap;
    }

    .tab-button {
        padding: 1rem 1.25rem;
        font-size: 14px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .case-header {
        flex-direction: column;
        text-align: center;
    }

    .case-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-results-grid {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        font-size: 32px;
    }

    .final-cta p {
        font-size: 16px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .case-logo {
        width: 60px;
    }

    .case-section {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 25px !important;
    }

    .hero-content h1,
    .hero-content p{
        text-align: center;
    }
}

.hero-content h2 {
    margin: 0;
    line-height: 1.2;
    text-align: -webkit-left !important;
}

    .hero-content h1 + h1 {
        margin-top: 2px; /* control spacing between lines */
    }

.hero-top {
    display: flex !important;
    flex-direction: row;
    gap: 40px;
}

.hero-content,
.hero-dashboard {
    flex: 1;
}

.hero-customers {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 480px) {

    .hero-top {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content,
    .hero-dashboard {
        width: 100%;
    }

    h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    .hero-dashboard {
        padding: 1rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .metric-card {
        padding: 0.8rem;
    }

    .metric-value {
        font-size: 20px;
    }

    .metric-label {
        font-size: 11px;
    }
}

@media (max-width: 768px) {

    .hero-top {
        flex-direction: column !important; /* 🔥 force column */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }

    .hero-dashboard {
        width: 100% !important;
    }

    .metrics-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}