/* 
    FlorianBD Packages Page CSS
    Premium Eco-Tech Aesthetic
*/

:root {
    --primary: #1B5E20;
    --accent: #66BB6A;
    --bg-soft: #F1F8E9;
    --text-dark: #0B3D2E;
    --gold: #C8A951;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(27, 94, 32, 0.1);
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.hero-title,
.section-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
}

.center {
    text-align: center;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.leaf-icon {
    font-size: 40px;
    animation: leaf-float 2s infinite ease-in-out;
}

.loading-bar {
    width: 100px;
    height: 3px;
    background: #e0e0e0;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loading-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

@keyframes leaf-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(15deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.leaf-logo {
    font-size: 24px;
    animation: swing 3s infinite ease-in-out;
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.logo h1 {
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 700px;
    margin: 0 auto 40px;
    color: #5a7d6e;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item span {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.stat-item label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #888;
    font-size: 13px;
    font-weight: 600;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-heading {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    color: #666;
    margin-bottom: 50px;
}

/* Package Cards */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: 28px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 94, 32, 0.08);
    border-color: var(--accent);
}

.card-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.05) 0%, transparent 60%);
    pointer-events: none;
    transition: var(--transition);
}

.package-card:hover .card-bg-glow {
    background: radial-gradient(circle, rgba(102, 187, 106, 0.1) 0%, transparent 60%);
}

.tree-illustration {
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tree-illustration img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: tree-float 4s infinite ease-in-out;
}

@keyframes tree-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.package-name {
    font-size: 24px;
    margin-bottom: 5px;
}

.package-tagline {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.package-price {
    margin-bottom: 25px;
    color: var(--text-dark);
}

.package-price .currency {
    font-size: 18px;
    font-weight: 600;
    vertical-align: top;
    margin-top: 5px;
    display: inline-block;
}

.package-price .amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
}

.package-price .period {
    font-size: 14px;
    color: #888;
}

.save-badge {
    padding: 4px 12px;
    background: var(--gold);
    color: var(--white);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
}

.feature-list li {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--accent);
    font-size: 14px;
}

/* Active State / Popular */
.package-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: center;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--text-dark);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 20px 50px;
    font-size: 18px;
    width: auto;
}

/* Comparison Table */
.comparison-section {
    background: var(--bg-soft);
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 25px 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background: #fafafa;
    font-weight: 700;
    color: var(--text-dark);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table i.fa-check {
    color: var(--accent);
}

.comparison-table i.fa-times {
    color: #e0e0e0;
}

/* Impact Section */
.impact-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.impact-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.progress-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-ring-circle {
    transition: stroke-dashoffset 1s ease-out;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-text .percentage {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.progress-text label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.impact-text {
    flex: 1.5;
}

.impact-list {
    list-style: none;
    margin-top: 30px;
}

.impact-list li {
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-list i {
    color: var(--primary);
    background: var(--bg-soft);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* FAQ Section */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #f8fbf8;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 25px 25px;
    display: none;
    color: #666;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .fa-plus {
    transform: rotate(45deg);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(11, 61, 46, 0.9)), url('../pic/tree-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.cta-heading {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
}

.cta-price-preview {
    display: flex;
    flex-direction: column;
}

.cta-price-preview .label {
    font-size: 12px;
    color: #888;
}

.cta-price-preview .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.mobile-sticky-cta .btn {
    width: auto;
    padding: 15px 40px;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid #f0f0f0;
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .impact-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-item span {
        font-size: 24px;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .package-card {
        padding: 30px 20px;
    }
}

/* Animation Utilities */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}