@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #FF8000;
    /* Vibrant Orange */
    --primary-hover: #E67300;
    --secondary: #1F2937;
    /* Neutral Deep Gray instead of Blue */
    --accent: #FBBF24;
    /* Amber/Gold accent instead of Blue */
    --text-main: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #111827;
    /* Keeping for other dark elements if needed */
    --bg-cream: #FFF5EB;
    /* Light Cream background for footer */
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --container: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* Navigation */
.landing-page-header {
    height: 90px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.landing-page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.landing-page-header .site-branding img {
    /* height: 48px; */
    width: 70px;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(255, 128, 0, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 128, 0, 0.23);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #001A33;
    transform: translateY(-2px);
}

.btn.btn-outline {
    border-color: #f17500;
    color: #f17500;
    border: 2px solid;
    line-height: 15px;
    padding: 12px 20px;
}

.btn.btn-outline:hover {
    border-color: #f17500;
    color: #fff;
    background: #f17500;
}

/* Hero Section */
.hero {
    padding: 100px 0 160px;
    background: radial-gradient(circle at top right, rgba(255, 128, 0, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(31, 41, 55, 0.05), transparent),
        #fff4e9;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 60px; */
    gap: 30px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.trust-statement {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-statement::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-mockup {
    /* width: 120%;
    margin-left: -10%; */
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .hero-mockup {
    transform: rotateY(0) rotateX(0);
}

/* Wavy Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--bg-light);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 128, 0, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Feature Layouts */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-list li i {
    color: var(--primary);
    margin-top: 5px;
}

.feature-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.grid-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.grid-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.grid-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.grid-card h4 {
    margin-bottom: 12px;
    font-size: 18px;
}

.grid-card p {
    font-size: 14px;
}

/* Industries */
.industry-marquee {
    display: flex;
    gap: 40px;
    overflow: hidden;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 40px;
    animation: scroll 40s linear infinite;
}

.industry-item {
    padding: 20px 40px;
    background: white;
    border-radius: 50px;
    border: 1px solid var(--border);
    white-space: nowrap;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Stats */
.stats-section {
    background: var(--secondary);
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--secondary);
}

.faq-answer {
    padding: 0 24px 24px;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Banner */
.cta-banner {
    background: #FFF1E0;
    padding: 80px 0;
    border-radius: 40px;
    text-align: center;
    color: var(--text-main);
    /* margin-bottom: -60px; */
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 128, 0, 0.1);
}

.cta-banner h2 {
    color: var(--secondary);
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-banner p {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 40px;
}

.landing-page-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Footer */
.landing-footer {
    background-color: #FFF1E4;
    color: #282828;
}

.contact-detail img {
    width: 20px;
    margin-right: 4px;
}

.footer-grid {
    /* display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px; */
    text-align: center;
}

.footer-col h5 {
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 24px;
}


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

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-legal-links a:hover {
    color: var(--primary) !important;
}

/* About Algotell CRM Section */
.section-about-crm {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-crm-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
}

.about-crm-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}

.about-crm-list li:hover {
    transform: translateX(5px);
}

.about-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--bg-cream);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 128, 0, 0.1);
}

.about-crm-list li:hover .about-icon-box {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.2);
}

.about-crm-list h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 4px 0;
}

.about-crm-list p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.about-crm-visual {
    position: relative;
    padding: 20px;
    display: inline-block;
}

.about-crm-visual img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-crm-visual:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--secondary);
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-badge i {
    font-size: 16px;
}

.floating-badge.badge-1 {
    left: -10px;
    bottom: 50px;
    animation: floatBadge1 4s ease-in-out infinite;
}

.floating-badge.badge-2 {
    right: -10px;
    top: 50px;
    animation: floatBadge2 4s ease-in-out infinite;
}

@keyframes floatBadge1 {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatBadge2 {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* Industry Success Showcase */
.section-industry-showcase {
    background-color: var(--bg-light);
    position: relative;
}

.industry-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.industry-tab-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.industry-tab-btn i {
    font-size: 14px;
    opacity: 0.8;
}

.industry-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(255, 128, 0, 0.02);
}

.industry-tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(255, 128, 0, 0.25);
}

.industry-contents-wrapper {
    position: relative;
    min-height: 400px;
    margin-top: 30px;
}

.industry-content-pane {
    display: none;
}

.industry-content-pane.active {
    display: block;
    animation: paneFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paneFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pane-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 128, 0, 0.08);
    padding-bottom: 8px;
}

.pane-subtitle i {
    font-size: 18px;
}

/* Testimonial Stacking */
.testimonial-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 64px;
    font-family: Georgia, serif;
    color: rgba(255, 128, 0, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 128, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote {
    font-size: 14px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.testimonial-card .client-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .avatar {
    width: 36px;
    height: 36px;
    background-color: var(--bg-cream);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.testimonial-card .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.testimonial-card .industry-label {
    font-size: 11px;
    color: var(--text-light);
    display: block;
}

/* Case Study Styling */
.case-study-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover {
    border-color: rgba(255, 128, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.case-study-card .case-header {
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(255, 128, 0, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 128, 0, 0.08);
}

.case-study-card .case-tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.case-study-card .case-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.case-study-card .case-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.case-study-card .case-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-study-card .case-sec-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-study-card .case-section p {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.case-study-card .result-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.case-study-card .result-list li {
    font-size: 13.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.case-study-card .result-list li i {
    font-size: 14px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-mockup {
        width: 100%;
        margin-left: 0;
        transform: none !important;
    }

    .feature-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-list li {
        justify-content: start;
    }

    .list-unstyled {
        margin-left: 0;
    }

    .feature-image {
        order: 2;
    }

    .feature-text {
        order: 1;
    }

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

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

    /* Custom Responsive for 1024px */
    .about-crm-visual {
        margin-top: 40px;
    }

    .case-study-card {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .landing-page-header {
        height: 70px;
    }

    .landing-page-header .site-branding img {
        width: 50px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .btn.btn-outline {
        padding: 10px 14px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .problem-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-text h3 {
        font-size: 24px;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-banner {
        padding: 50px 20px;
        margin: 0 15px;
    }

    .cta-banner h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .cta-banner p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .industry-marquee {
        padding: 20px 0;
    }

    .industry-item {
        padding: 12px 24px;
        font-size: 14px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Custom Responsive for 768px */
    .industry-tab-btn {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 20px;
    }

    .about-crm-list li {
        gap: 16px;
        margin-bottom: 20px;
    }

    .about-icon-box {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .about-crm-list h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .landing-page-header .header-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    /* Custom Responsive for 480px */
    .industry-tab-btn {
        padding: 8px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .industry-tab-btn i {
        font-size: 11px;
    }

    .pane-subtitle {
        font-size: 17px;
    }

    .floating-badge {
        padding: 8px 12px;
        font-size: 11px;
    }

    .floating-badge.badge-1 {
        left: 5px;
        bottom: 20px;
    }

    .floating-badge.badge-2 {
        right: 5px;
        top: 20px;
    }
}