/* ===== CSS Variables ===== */
:root {
    --primary: #2E7D32;
    --primary-light: #43A047;
    --primary-dark: #1B5E20;
    --primary-darker: #0D3B13;
    --accent: #4CAF50;
    --accent-light: #66BB6A;

    --bg: #FAFBFA;
    --bg-alt: #F0F5F0;
    --bg-dark: #1A2E1A;
    --bg-dark-light: #2A3E2A;

    --text: #2A2E2A;
    --text-light: #5D6B5D;
    --text-lighter: #8A998A;
    --text-white: #F5FAF5;

    --border: #D0E0D0;
    --border-light: #E0EDE0;

    --shadow-sm: 0 1px 3px rgba(30, 94, 32, 0.08);
    --shadow-md: 0 4px 12px rgba(30, 94, 32, 0.1);
    --shadow-lg: 0 8px 30px rgba(30, 94, 32, 0.12);
    --shadow-xl: 0 20px 50px rgba(30, 94, 32, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.25s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul {
    list-style: none;
}

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

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 251, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links > a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 1px;
}

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

.nav-links > a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}

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

.nav-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 8px;
    min-width: 220px;
    z-index: 1001;
    animation: fadeInUp 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(46, 125, 50, 0.06);
    color: var(--primary);
}

.nav-dropdown-menu a svg {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg) 0%, #E8F5E9 50%, #F1F8E9 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(67, 160, 71, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(27, 94, 32, 0.06) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 20px;
    color: var(--text);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(46, 125, 50, 0.08);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-graphic {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.1), rgba(27, 94, 32, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(46, 125, 50, 0.15);
}

.hero-logo-icon {
    animation: float 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(46, 125, 50, 0.3));
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 500;
    animation: float 5s ease-in-out infinite;
    white-space: nowrap;
}

.card-1 { top: 20%; left: 0; animation-delay: 0s; }
.card-2 { bottom: 25%; right: 0; animation-delay: 1.5s; }
.card-3 { top: 60%; left: -10%; animation-delay: 3s; }

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

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

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== Tab Navigation (12 Tabs) ===== */
.tab-navigation {
    display: flex;
    gap: 6px;
    margin-bottom: 40px;
    background: white;
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-navigation::-webkit-scrollbar {
    height: 4px;
}

.tab-navigation::-webkit-scrollbar-track {
    background: transparent;
}

.tab-navigation::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(46, 125, 50, 0.06);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.tab-btn.active svg {
    stroke: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ===== Tab Intro ===== */
.tab-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 32px;
}

.tab-intro-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-intro h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text);
}

.tab-intro p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Content Blocks ===== */
.content-block {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.content-block h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block h4 {
    font-size: 1rem;
    margin: 20px 0 10px;
    color: var(--text);
}

.content-block p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul {
    list-style: none;
    margin: 12px 0;
}

.content-block li {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.6;
}

.content-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===== Info Box ===== */
.info-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.info-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Tip Box ===== */
.tip-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(76, 175, 80, 0.06);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 16px 0;
}

.tip-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.tip-box p a {
    font-weight: 700 !important;
    color: var(--primary);
}

/* ===== Warning Box ===== */
.warning-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 152, 0, 0.06);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.warning-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Danger Box ===== */
.danger-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(244, 67, 54, 0.05);
    border: 1px solid rgba(244, 67, 54, 0.15);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.danger-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.danger-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Link List ===== */
.link-list {
    background: white;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-top: 24px;
}

.link-list h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-list ul {
    list-style: none;
}

.link-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.link-list a {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-list a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.link-list .link-desc {
    font-size: 0.82rem;
    color: var(--text-lighter);
    margin-top: 2px;
}

/* ===== Feature Cards Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.feature-card {
    background: white;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Comparison Table ===== */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin: 20px 0;
}

.compare-table th {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: white;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
}

.compare-table td {
    padding: 12px 20px;
    font-size: 0.88rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    background: white;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: var(--bg-alt);
}

/* ===== CTA Section ===== */
.section-cta {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-light) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(67, 160, 71, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(27, 94, 32, 0.08) 0%, transparent 60%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 1.1rem;
    color: rgba(245, 250, 245, 0.7);
    max-width: 550px;
    margin: 0 auto 36px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(245, 250, 245, 0.6);
    transition: var(--transition);
}

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

.footer-copy {
    font-size: 0.8rem;
    color: rgba(245, 250, 245, 0.4);
}

.footer-copy a {
    color: rgba(245, 250, 245, 0.6);
    transition: var(--transition);
}

.footer-copy a:hover {
    color: var(--accent-light);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-dropdown-toggle {
        display: none;
    }

    .nav-dropdown {
        display: contents;
    }

    .nav-dropdown-menu {
        display: contents !important;
        position: static;
        transform: none;
        background: none;
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: 0;
        animation: none;
    }

    .nav-dropdown-menu a {
        padding: 8px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

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

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

    .hero-visual {
        display: none;
    }

    .tab-navigation {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .tab-intro {
        flex-direction: column;
        text-align: center;
    }

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

    .compare-table {
        display: block;
        overflow-x: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .content-block {
        padding: 24px 20px;
    }

    .info-box,
    .tip-box,
    .warning-box,
    .danger-box {
        flex-direction: column;
    }
}
