:root {
    --primary-green: #2e8b57;
    --dark-green: #1e6b47;
    --light-green: #3cb371;
    --accent-green: #32cd32;
    --dark-charcoal: #2d3748;
    --light-gray: #f8fafc;
    --warm-white: #ffffff;
    --soft-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --strong-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    --gradient-accent: linear-gradient(135deg, var(--light-green) 0%, var(--accent-green) 100%);
}

/* Base Styles */
.pos-body {
    background-color: #ffffff;
    color: var(--dark-black);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

.text-green {
    color: var(--primary-green) !important;
}

.bg-green {
    background-color: var(--primary-green) !important;
}

.bg-gradient-green {
    background: var(--gradient-primary) !important;
}

/* Navigation */
.pos-navbar {
    background: rgba(46, 139, 87, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-pos-primary {
    background: var(--gradient-primary);
    border: none;
    color: white !important;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-pos-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-pos-primary:hover::before {
    left: 100%;
}

.btn-pos-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(107, 124, 111, 0.3);
    color: white !important;
}

.btn-pos-outline {
    border: 2px solid var(--primary-sage);
    color: var(--primary-sage);
    background: transparent;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
}

.btn-pos-outline:hover {
    background: var(--primary-sage);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(107, 124, 111, 0.2);
}

.btn-pos-light {
    background: white;
    border: 2px solid white;
    color: var(--primary-green) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pos-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--soft-shadow);
    color: var(--dark-green) !important;
}

.btn-pos-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pos-outline-light:hover {
    background: white;
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.pos-hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.pos-hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--strong-shadow);
    max-width: 90%;
    margin: 0 auto;
}

.pos-hero-image img {
    transition: transform 0.3s ease;
}

.hero-stats-card {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--soft-shadow);
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-charcoal);
    font-weight: 500;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

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

.wave-divider .shape-fill {
    fill: #ffffff;
}

/* Feature Cards */
.pos-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pos-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        135deg,
        var(--primary-green),
        var(--light-green)
    );
}

.pos-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Client Logos */
.client-logo {
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--soft-shadow);
}

/* Solution Cards */
.pos-solution-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.pos-solution-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.solution-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.solution-image img {
    transition: transform 0.3s ease;
}

.pos-solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-features {
    margin-top: 1rem;
}

.solution-features .badge {
    margin: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* Why Section */
.why-features {
    margin-top: 2rem;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.why-content h5 {
    margin-bottom: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--strong-shadow);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--dark-charcoal);
    font-weight: 500;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h5 {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    color: #666;
}

/* Pricing Cards */
.pos-pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pos-pricing-card.featured {
    border-color: var(--primary-green);
    transform: scale(1.05);
    box-shadow: var(--strong-shadow);
}

.pos-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
}

.pos-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pos-pricing-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.pos-pricing-card h2 {
    margin: 1.5rem 0;
}

.pos-pricing-card ul {
    margin: 2rem 0;
}

.pos-pricing-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pos-pricing-card ul li:last-child {
    border-bottom: none;
}

/* Footer */
.pos-footer {
    margin-top: 6rem;
    border-top: 6px solid var(--gradient-primary);
    position: relative;
}

.pos-footer::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-accent);
}

.border-sage {
    border-color: var(--primary-sage) !important;
}

/* Badges */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pos-hero h1 {
        font-size: 2.8rem;
    }

    .hero-stats-card {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .pos-hero {
        padding: 8rem 0 6rem;
        text-align: center;
    }

    .pos-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .pos-hero .lead {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }

    .hero-stats-card {
        position: relative;
        bottom: 0;
        margin-top: 3rem;
        transform: none;
        left: 0;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
    }

    .pos-feature-card {
        margin-bottom: 2rem;
    }

    .pos-pricing-card.featured {
        transform: none;
        margin: 2rem 0;
    }

    .pos-pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 3rem;
        gap: 2rem;
    }

    .why-feature {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(45, 55, 72, 0.98);
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 1rem;
        backdrop-filter: blur(20px);
    }

    .btn-pos-primary,
    .btn-pos-outline {
        width: 100%;
        margin-bottom: 1rem;
        padding: 1rem 2rem;
    }

    .hero-stats-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .pos-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .pos-hero .lead {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .why-feature {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .why-icon {
        margin: 0 auto 1rem;
    }

    .pos-feature-card {
        padding: 2.5rem 2rem;
    }

    .pos-solution-card {
        padding: 2.5rem;
    }

    .blog-card {
        margin-bottom: 2rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .pos-hero {
        padding: 6rem 0 4rem;
    }

    .pos-hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .pos-hero .lead {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .pos-hero .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 2rem;
    }

    .btn-pos-primary,
    .btn-pos-outline {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-stats-card {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .stat-item {
        text-align: center;
    }

    .pos-feature-card,
    .pos-pricing-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .pos-solution-card {
        padding: 2rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .why-features {
        margin-top: 2rem;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input {
        max-width: 100% !important;
    }
}

/* Animation Classes */
.animate__animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__zoomIn {
    animation-name: zoomIn;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

/* Utility Classes */
.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
    border: 2px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(107, 124, 111, 0.25);
    border-color: var(--primary-sage);
}

/* Loading animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 2s infinite;
}
