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

body {
    font-family: Inter, sans-serif;
    background: linear-gradient(135deg, #f3fff5, #e3f7e7);
    color: #1f2937;
    overflow-x: hidden;
}

/* Fade In + Reveal */
.fade-in,
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}
.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

/* Perspective for tilt */
.info-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    perspective: 900px;
}
.tilt-card {
    transform-style: preserve-3d;
}

/* ===========================
           HEADER
=========================== */
.info-header {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
    margin: 2rem 1rem;
    position: relative;
    overflow: hidden;
}
.info-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #047857;
    font-family: Poppins, sans-serif;
}
.info-header p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 520px;
    margin: 0.5rem auto 1.5rem;
}

/* Lottie container */
.packet-anim {
    max-width: 260px;
    margin: 0 auto;
}

/* Floating seed icons */
.floating-seeds {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.seed-icon {
    position: absolute;
    font-size: 1.9rem;
    opacity: 0.55;
    animation: floatSeed 6s ease-in-out infinite;
}
.seed-1 { top: 15%; left: 8%; animation-delay: 0s; }
.seed-2 { top: 35%; right: 12%; animation-delay: 1.2s; }
.seed-3 { bottom: 15%; left: 18%; animation-delay: 2.1s; }

@keyframes floatSeed {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ===========================
       FLOATING LEAVES
=========================== */
.leaf {
    position: fixed;
    width: 26px;
    height: 26px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/415/415733.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.35;
    top: -60px;
    animation: fall linear infinite;
    z-index: -1;
}
@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0.35;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===========================
         INFO CARDS
=========================== */
.info-card {
    padding: 2.2rem;
    margin: 2rem 0;
}
.info-card h2 {
    font-size: 2rem;
    color: #047857;
    margin-bottom: 1rem;
    font-family: Poppins, sans-serif;
}

/* ===========================
     SEED FILTER / SELECTOR
=========================== */
.seed-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.seed-filter-btn {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(4, 120, 87, 0.3);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.25s;
}
.seed-filter-btn.active {
    background: linear-gradient(135deg, #6EE7B7, #047857);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

/* ===========================
        SEED GRID
=========================== */
.seed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.seed-box {
    padding: 1.2rem;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}
.seed-box::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
}
.seed-box:hover::after {
    top: 100%;
}
.seed-box:hover {
    transform: translateY(-6px) scale(1.03);
}
.seed-box img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.7rem;
}
.seed-box h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ===========================
        WHY GRID
=========================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.why-box {
    padding: 1rem;
    text-align: center;
    transition: 0.4s;
}
.why-box i {
    font-size: 2rem;
    color: #047857;
    margin-bottom: 0.4rem;
}
.why-box:hover {
    transform: translateY(-4px);
}

/* ===========================
        TIMELINE
=========================== */
.timeline-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.time {
    padding: 1rem;
    transform: scale(0.96);
    transition: 0.4s ease;
    cursor: pointer;
}
.time:hover {
    transform: scale(1.04);
}
.time.active {
    border: 2px solid #047857;
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.3);
}

/* Interactive detail box */
.growth-detail {
    margin-top: 1.5rem;
    padding: 1.3rem 1.5rem;
}
.growth-detail h3 {
    color: #047857;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.growth-detail p {
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ===========================
  COMPARISON TABLE
=========================== */
.compare-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.compare-table th {
    background: rgba(4, 120, 87, 0.1);
    color: #047857;
    font-weight: 700;
}

/* ===========================
            FAQ
=========================== */
.faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-item h3 {
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item h3::after {
    content: "+";
    font-weight: 600;
}
.faq-item.open h3::after {
    content: "−";
}
.faq-item p {
    margin-top: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.4s ease;
    opacity: 0;
    font-size: 0.95rem;
}
.faq-item.open p {
    max-height: 200px;
    opacity: 1;
}

/* ===========================
           CTA SECTION
=========================== */
.cta {
    text-align: center;
    padding: 2.5rem;
    animation: softPulse 4s infinite ease-in-out;
}
@keyframes softPulse {
    0%   { box-shadow: 0 0 0 rgba(46, 204, 113, 0.2); }
    50%  { box-shadow: 0 0 25px rgba(46, 204, 113, 0.4); }
    100% { box-shadow: 0 0 0 rgba(46, 204, 113, 0.2); }
}
.cta h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.cta p {
    font-size: 1rem;
    opacity: 0.85;
}
.cta-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    background: linear-gradient(135deg, #6EE7B7, #047857);
    color: white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}
.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 10%, transparent 70%);
    transition: 0.4s;
}
.cta-btn:hover::before {
    left: 100%;
}
.cta-btn:hover {
    transform: translateY(-3px);
}

/* ===========================
         BACK BUTTON
=========================== */
.back-btn {
    display: block;
    margin: 3rem auto;
    padding: 0.8rem 2rem;
    background: #047857;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    width: fit-content;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}
.back-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 10%, transparent 70%);
    transition: 0.4s;
}
.back-btn:hover::before {
    left: 100%;
}
.back-btn:hover {
    transform: translateY(-3px);
}

/* ===========================
          RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .info-header {
        margin: 1.5rem 1rem;
        padding: 2.5rem 1rem 2rem;
    }
    .info-header h1 {
        font-size: 2.2rem;
    }
    .packet-anim {
        max-width: 220px;
    }
    .info-card {
        padding: 1.8rem 1.4rem;
    }
}

@media (max-width: 480px) {
    .info-header h1 {
        font-size: 1.9rem;
    }
    .info-header p {
        font-size: 0.95rem;
    }
    .seed-grid,
    .why-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
    }
}
