@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/nasalization');

:root {
    /* Colors */
    --primary: #a6cb38;
    --primary-dark: #8fb12f;
    --primary-light: #f1f8e1;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #3b82f6;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --error: #ef4444;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'nasalization', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

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

.text-muted {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(166, 203, 56, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--surface);
    border-color: var(--text-light);
}

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

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

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

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

@media (max-width: 992px) {

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'nasalization', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    /* Default height for header */
    width: auto;
    object-fit: contain;
}

.footer-brand .logo-img {
    height: 50px;
    /* Slightly larger for footer */
    margin-bottom: 20px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-light);
}

.nav-link:hover {
    color: var(--primary);
}

.header-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

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

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(166, 203, 56, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(166, 203, 56, 0.03) 0%, transparent 40%);
    animation: rotateBg 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.new-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 5px 15px 5px 5px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.tag-badge {
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary-light);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, #a6cb38, #0d8543);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-stats-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
}

.stat-val {
    display: block;
    font-family: 'nasalization', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Trusted Logos */
.trusted {
    padding: 40px 0;
    border-bottom: 1px solid #f1f5f9;
}

.trusted-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 500;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.8;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
    opacity: 0.7;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.comparison-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header i {
    font-size: 1.5rem;
}

.card-desc {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.comparison-list li i {
    font-size: 0.8rem;
}

.card-negative {
    background: #fffafa;
}

.card-positive {
    background: var(--primary-light);
    border-color: #e6f2cc;
    position: relative;
}

.card-positive .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* How It Works Steps */
.step-card {
    padding: 30px;
    background: white;
    border-radius: 20px;
    transition: var(--transition);
}

.step-number {
    font-family: 'nasalization', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-muted);
}

/* Tabs */
.tabs-container {
    background: var(--surface);
    border-radius: 30px;
    padding: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.pane-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.check-list {
    margin: 25px 0 35px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li i {
    color: var(--primary);
    margin-right: 10px;
}

.stat-circle {
    width: 250px;
    height: 250px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--primary-light);
}

.stat-circle .val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-circle .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Business Case Stats */
.case-box {
    background: var(--secondary);
    border-radius: 40px;
    padding: 80px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-box .section-title,
.case-box .section-tag {
    color: white;
}

.case-box .section-tag {
    background: rgba(255, 255, 255, 0.1);
}

.case-box .stats-grid {
    grid-template-columns: 1fr;
}

.case-box .stat-card h3 {
    color: var(--primary);
    font-size: 2.5rem;
    animation: statPulse 4s ease-in-out infinite;
}

@keyframes statPulse {

    0%,
    100% {
        text-shadow: none;
        opacity: 0.9;
    }

    50% {
        text-shadow: 0 0 15px rgba(166, 203, 56, 0.4);
        opacity: 1;
    }
}

.case-box .stat-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    transition: var(--transition);
}

.case-box .stat-card:hover {
    transform: translateX(10px);
}

/* Yield Chart */
.yield-chart-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
}

.chart-container {
    background: white;
    padding: 60px 40px 100px;
    /* Added bottom padding for labels */
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'nasalization', sans-serif;
}

.legend-color {
    width: 40px;
    height: 15px;
    border-radius: 4px;
}

.chart-main {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    height: 400px;
    position: relative;
}

.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 5px 0;
    font-family: 'nasalization', sans-serif;
}

.chart-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-end;
    padding: 0 60px;
    position: relative;
    height: 100%;
    border-bottom: 2px solid #f1f5f9;
}

/* Horizontal Grid Lines */
.chart-bars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
    background-size: 100% 14.28%;
    z-index: 0;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.bar-stack {
    width: 100%;
    max-width: 120px;
    height: 100%;
    /* Important: height relative to bar-group */
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px 12px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
    /* Changed from hidden to see stack better */
    transition: var(--transition);
}

.bar-stack:hover {
    transform: translateY(-5px);
}

.bar-high {
    background: #b9d681;
    width: 100%;
    border-radius: 12px 12px 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 0 !important;
    /* Start at 0 */
}

.bar-low {
    background: #8fb12f;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
    /* delayed */
    height: 0 !important;
    /* Start at 0 */
}

/* When revealed by IntersectionObserver, grow bars */
.yield-chart-section.active .bar-group:nth-child(1) .bar-high {
    height: 42% !important;
}

.yield-chart-section.active .bar-group:nth-child(1) .bar-low {
    height: 10% !important;
}

.yield-chart-section.active .bar-group:nth-child(2) .bar-high {
    height: 88% !important;
}

.yield-chart-section.active .bar-group:nth-child(2) .bar-low {
    height: 20% !important;
}

.bar-label {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'nasalization', sans-serif;
    color: var(--secondary);
}

.bar-label small {
    display: block;
    font-weight: 500;
    color: var(--text-muted);
}

.chart-footer {
    margin-top: 80px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    width: 100%;
}

@media (max-width: 768px) {
    .chart-bars {
        gap: 40px;
        padding: 0 20px;
    }

    .chart-main {
        height: 300px;
    }
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

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

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

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

/* CTA Card */
.cta-card {
    background: var(--primary);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    color: white;
}

.cta-card h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 100px 0 40px;
    font-family: 'Montserrat', sans-serif;
}

.footer-top {
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.footer-links h4 {
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

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

.footer-links ul li a {
    color: var(--text-muted);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

/* Section Padding Utility */
.section-padding {
    padding: var(--section-padding);
}

.mt-50 {
    margin-top: 50px;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Responsive Fixes */
@media (max-width: 992px) {

    .hero-container,
    .pane-grid,
    .case-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .case-box {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        transition: 0.4s;
        padding: 40px 20px;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .menu-toggle {
        display: block;
    }

    .header-btns .btn {
        display: none;
    }

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

    .cta-card {
        padding: 40px 20px;
    }

    .cta-card h2 {
        font-size: 2rem;
    }
}

/* Blog Section */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.blog-img {
    height: 200px;
    background: var(--surface);
    position: relative;
    background-image: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}