:root {
    --primary: #2D5A54;
    --primary-light: #e9f5f2;
    --accent: #FF8A5B;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --bg-gradient: linear-gradient(135deg, #f0f9f7 0%, #ffffff 100%);
}

a {
    text-decoration: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f1f1;
}

.nav-link {
    color: #64748b !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

/* Hover & Active States */
.nav-link:hover,
.nav-link.active {
    color: #2D5A54 !important;
}

.logo {
    width: 150px;
}

/* Underline effect for Active link */
@media (min-width: 992px) {
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 10px;
        right: 10px;
        height: 2px;
        background-color: #2ecc71;
    }
}

/* Custom Toggle Button (Hamburger to X) */
.navbar-toggler {
    border: none;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
}

.toggler-icon {
    width: 25px;
    height: 2px;
    background-color: #2D5A54;
    display: block;
    transition: all 0.3s ease;
    margin: 6px 0;
}

/* Animation logic for X icon */
.navbar-toggler:not(.collapsed) .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler:not(.collapsed) .middle-bar {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 10px 0;
    }
}

.content-column h1 {
    font-size: 4.1rem;
    color: black;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background: white;
    border: 1px solid #ddd;
    padding: 15px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
}


.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #ffffff;
}

/* Status Badge */
.status-badge {
    background: #f0fdf4;
    color: #166534;
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.status-badge .dot {
    height: 8px;
    width: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #1a2b3c;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.main-hero {
    background-image: url(img/hero-bg.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 70px;
    height: 90vh;
}

/* second section */
/* --- Background & Section --- */
.problem-area {
    padding: 50px 0;
    /* This creates the soft green glow in the center */
    background: radial-gradient(circle at center, #f0fdf9 0%, #ffffff 60%);
    overflow: hidden;
}

/* --- Typography --- */
.problem-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #1a2b3c;
    margin-bottom: 15px;
}

.problem-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    text-align: center;
}

.brand-text {
    font-size: 1.5rem;
    color: #94a3b8;
    font-weight: 500;
}

.brand-logo {
    height: 30px;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* --- Card Styling --- */
.issue-card {
    background: #ffffff;
    border: 1px solid #aaffd9;
    padding: 35px 25px;
    border-radius: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.issue-card p {
    margin: 0;
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
    line-height: 1.3;
}

/* features */

.text-dark-green {
    color: #3d5a52;
}

.hero-section {
    display: flex;
    align-items: center;
}

/* Check Icon Styling */
.check-icon {
    color: #68b9a1;
    font-size: 1.75rem;
    margin-top: 2px;
}

/* Button Custom Styling & Hover */
.btn-custom2 {
    background-color: #3d5a52;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(61, 90, 82, 0.2);
}

.btn-custom2:hover {
    background-color: #2a3f3a;
    color: white;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(61, 90, 82, 0.3);
}

.btn-custom2:active {
    transform: scale(0.98);
}

/* footer btn */
.btn-custom-footer {
    background-color: #3d5a52;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(61, 90, 82, 0.2);
}

.btn-custom-footer:hover {
    background-color: #2a3f3a;
    color: white;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(61, 90, 82, 0.3);
}

/* Image Column Styles */
.features-bg {
    background-image: url(img/business-linly.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Subtle floating animation for the phone image */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.1));
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }
}

.text-dark-blue {
    color: #0f172a;
}

/* Image Styling */
.image-wrapper {
    padding-bottom: 50px;
    /* Space for the overlapping card */
}

.platform-img {
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
    height: 450px;
}

/* Floating "Zero Chaos" Card */
.chaos-card {
    position: absolute;
    bottom: 0;
    right: -20px;
    background: white;
    border-radius: 20px;
    width: 280px;
    border: 1px solid #f1f5f9;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Button Styling & Hover Animation */
.btn-dark-blue {
    background-color: #0f172a;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark-blue:hover {
    background-color: #1e293b;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2) !important;
}

/* Checkmark Style */
.text-success {
    color: #4ade80 !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .chaos-card {
        position: relative;
        right: 0;
        margin-top: -40px;
        margin-left: auto;
        margin-right: auto;
    }

    .platform-img {
        height: 350px;
    }
}

/* how it works */
/* Color Theme */
.how-it-works {
    background-color: #0f2f2a;
    /* Dark Navy from your theme */
}

.text-success-custom {
    color: #4ade80;
    /* LinLy Green */
    letter-spacing: 2px;
}

/* THE LINE FIX */
.connector-line {
    position: absolute;
    top: 90px;
    /* Aligns with the vertical center of your icon boxes */
    left: 0%;
    right: 0%;
    height: 2px;
    /* High visibility green gradient */
    background: linear-gradient(90deg,
            rgba(74, 222, 128, 0) 0%,
            rgba(74, 222, 128, 0.6) 20%,
            rgba(74, 222, 128, 0.6) 80%,
            rgba(74, 222, 128, 0) 100%);
    z-index: 1;
    /* Sits behind the cards */
}

/* Card Styling */
.modern-step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.z-index-2 {
    position: relative;
    z-index: 2;
    /* Ensures cards sit on top of the line */
}

.icon-box {
    width: 80px;
    height: 80px;
    background: #0f2f2a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Hover Effect */
.modern-step-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #4ade80;
    transform: translateY(-10px);
}


/* --- Icon Styles --- */
.icon-wrap {
    font-size: 1.8rem;
    color: #2ecc71;
    min-width: 50px;
    transition: transform 0.3s ease;
}

.check-bg {
    background: #e8f5e9;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* --- Hover Effects --- */
.issue-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
}

.issue-card:hover .icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

/* --- Footer Note --- */
.bottom-claim {
    font-size: 1.3rem;
    color: #64748b;
}

.bottom-claim strong {
    color: #1a2b3c;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .issue-card {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .issue-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
    }

    .problem-title {
        font-size: 1.7rem;
    }
}

.text-green {
    color: #0f2f2a;
}

.description {
    font-size: 1.20rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-group-custom {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.btn-primary-custom {
    background-color: #2ecc71;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-custom {
    border: 1px solid #e2e8f0;
    color: #1a2b3c;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Responsive Image */
.image-column img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Mockup Styling */
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
}

/* Pain Points Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.card-mini {
    background: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    border-left: 5px solid var(--primary);
}

/* Why LinLy Section */
.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.check-icon {
    color: #4caf50;
    background: #e8f5e9;
    padding: 5px;
    border-radius: 50%;
}

/* Pricing Section */
/* Pricing Card Styles */
.price-card {
    background: #fff;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popular-card {
    background: #f4fcf9;
    border: 1px solid #68b9a1 !important;
}

.popular-label {
    background-color: #68b9a1;
    color: white;
    font-size: 0.85rem;
    padding: 6px 15px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
}

.feature-list li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #68b9a1;
    margin-right: 10px;
}

.btn-primary-green {
    background-color: #3d5a52;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary-green:hover {
    background-color: #2a3f3a;
    color: white;
    transform: translateY(-2px);
}

/* Testimonial Scroll Styles */
.testimonial-scroll-container {
    /* height: 550px; */
    /* Fixed height for section */
    overflow-y: auto;
    /* Internal scroll only */
    padding: 10px;
    scrollbar-width: none;
    /* Hide for Firefox */
}

.testimonial-scroll-container::-webkit-scrollbar {
    display: none;
    /* Hide for Chrome/Safari */
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.stars {
    color: #68b9a1;
    font-size: 0.75rem;
}


/* Responsive */
@media (max-width: 768px) {

    header,
    .features-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        width: 112px;
    }

    .hero-text p {
        margin: 0 auto 30px auto;
    }

    .btn-group {
        justify-content: center;
    }

    .content-column h1 {
        font-size: 3.5rem;
    }

    .main-hero {
        background-image: none;
    }

    .features-bg {
        background-image: none;
    }
}