* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8FB41F;
    --primary-dark: #7A9E15;
    --secondary: #2C3E5C;
    --accent: #00D4FF;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --nav-height: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* -- UTILS -- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px -5px rgba(143, 180, 31, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px -5px rgba(143, 180, 31, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(143, 180, 31, 0.05);
    transform: translateY(-2px);
}

.text-gradient {
    background: linear-gradient(135deg, #8FB41F, #7A9E15);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -- NAVIGATION -- */
nav {
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links.desktop-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links.desktop-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links.desktop-links a:hover {
    color: var(--primary);
}

.nav-cta.desktop-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
}

.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: white;
    z-index: 999;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: left 0.3s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.25rem;
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
}

/* -- HERO -- */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    background: radial-gradient(circle at top right, rgba(143, 180, 31, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(44, 62, 92, 0.05), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    top: -50px;
    right: -50px;
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(143, 180, 31, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(143, 180, 31, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card:hover {
    transform: translateY(-10px);
}

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

.blog-image img {
    transition: transform 0.5s ease;
}

.read-more:hover {
    text-decoration: underline !important;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-img-main {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.hero-img-main:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* -- FEATURES -- */
.features-section {
    background: var(--surface);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

.feature-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 450px;
}

.feature-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

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

.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

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

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 500;
}

/* -- WORKFLOW -- */
.workflow-section {
    background: #f1f5f9;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.workflow-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
}

.workflow-card:hover {
    transform: translateY(-8px);
}

.workflow-icon {
    width: 70px;
    height: 70px;
    background: rgba(143, 180, 31, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin: 0 auto 24px;
    font-size: 1.8rem;
}

.workflow-card h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.workflow-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.workflow-step {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    border: 4px solid #f1f5f9;
}

.pricing-section {
    padding-bottom: 50px;
}

.pricing-slider-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

.pricing-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    scroll-behavior: smooth;
}

.pricing-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.pricing-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.pricing-grid {
    display: inline-flex;
    gap: 24px;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 10px;
    min-width: 100%;
}

/* Slider Nav Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -22px;
}

.slider-next {
    right: -22px;
}

@media (max-width: 1200px) {
    .slider-prev {
        left: 0;
    }

    .slider-next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .slider-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* If the grid has many items, we force justify-content: flex-start to avoid clipping */
.pricing-grid {
    justify-content: flex-start !important;
}

.pricing-card {
    background: white;
    padding: 1.5rem 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex: 0 0 220px;
    scroll-snap-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 20px -5px rgba(143, 180, 31, 0.15);
}

.card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(143, 180, 31, 0.3);
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.price-box .amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -1px;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 1rem 0 0 0;
    border-top: 1px solid #f1f5f9;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
    color: #475569;
    font-size: 0.85rem;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 18px;
}

.pricing-features li.bonus {
    color: var(--primary);
    font-weight: 600;
}

.pricing-features li.bonus i {
    color: var(--primary);
}

.pricing-features li.desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    display: block;
    padding-left: 32px;
}

/* -- MARKETPLACES -- */
.marketplaces {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.marketplace-scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.5s;
}

.marketplace-scroll:hover {
    filter: grayscale(0);
    opacity: 1;
}

.marketplace-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.marketplace-logo:hover {
    transform: scale(1.1);
}

/* -- SLIDER -- */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    margin: 10px 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(143, 180, 31, 0.4);
    border: 3px solid white;
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(143, 180, 31, 0.4);
    border: 3px solid white;
}

/* -- DEMO FORM -- */
.form-group-icon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group-icon label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input,
.input-with-icon textarea,
.input-with-icon select {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus,
.input-with-icon select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(143, 180, 31, 0.1);
    outline: none;
}

.input-with-icon i {
    position: absolute;
    right: 20px;
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
}

/* -- COMPARISON TABLE -- */
.comparison-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 0 20px 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.comparison-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.comparison-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table thead tr {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table th {
    padding: 24px;
    text-align: center;
    color: var(--secondary);
    font-weight: 800;
}

.comparison-table th.feature-col {
    text-align: left;
}

.comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.comparison-table td.feature-label {
    text-align: left;
    font-weight: 600;
    color: #475569;
}

.comparison-table td.price-val {
    font-weight: 700;
    color: var(--primary);
}

.comparison-table td.val-bold {
    font-weight: 600;
}

.comparison-table td.bonus-val {
    font-weight: 600;
    color: var(--primary);
}

.comparison-table td.check-val {
    color: var(--primary);
}

.comparison-row:hover td {
    background: #f8fafc;
}

/* -- FOOTER -- */
footer {
    background: #121820;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-brand p {
    color: #94a3b8;
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-bottom .footer-legal-links a,
.footer-bottom .footer-legal-links a:visited,
.footer-bottom .footer-legal-links a:link {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* -- RESPONSIVE -- */
@media (max-width: 1024px) {

    .hero-grid,
    .feature-display {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-inline: auto;
    }

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

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .demo-card {
        grid-template-columns: 1fr !important;
        padding: 40px !important;
        gap: 40px !important;
    }

    .marketplace-scroll {
        gap: 40px;
    }

    .marketplace-logo {
        height: 45px;
    }
}

@media (max-width: 768px) {

    .desktop-links,
    .desktop-cta {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .feature-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .demo-card {
        padding: 24px !important;
    }

    .input-with-icon i {
        display: none;
    }

    .input-with-icon input,
    .input-with-icon textarea,
    .input-with-icon select {
        padding-right: 20px !important;
    }

    .marketplace-scroll {
        gap: 24px;
    }

    .marketplace-logo {
        height: 32px;
    }
}