/* assets/css/landing-style.css - Final Enhanced Glassmorphism Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Root Variables (ড্যাশবোর্ডের সাথে সামঞ্জস্যপূর্ণ) --- */
:root {
    --primary-color: #4a6cf7;
    --primary-hover: #3a5ce0;
    --text-color: #f0f2f5;
    --text-muted: #a7abc3;
    --main-bg: #101221;
    --glass-bg: rgba(33, 37, 41, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
    --backdrop-blur: 12px;
    --background-glow-color: rgba(74, 108, 247, 0.2);
}

/* --- Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--main-bg);
    background-image: 
        radial-gradient(circle at 5% 15%, var(--background-glow-color) 0%, transparent 40%),
        radial-gradient(circle at 95% 85%, rgba(220, 53, 69, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.7;
    scroll-behavior: smooth;
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Navigation Bar --- */
.navbar {
    position: fixed; width: 100%; top: 0; left: 0;
    padding: 20px 0; z-index: 1000;
    background: rgba(16, 18, 33, 0.6);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    transition: all 0.3s ease;
}
body.scrolled .navbar { padding: 15px 0; background: rgba(16, 18, 33, 0.85); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; font-weight: 700; color: white; text-decoration: none; }
.navbar .logo img { height: 35px; }
.nav-links { display: flex; gap: 35px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: white; }
.nav-buttons { display: flex; align-items: center; gap: 15px; }
.nav-buttons .btn { padding: 10px 22px; text-decoration: none; border-radius: 8px; transition: all 0.3s ease; font-weight: 500; }
.btn-login { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn-login:hover { background: var(--primary-color); color: white; }
.btn-signup { background: var(--primary-color); color: white; box-shadow: 0 0 15px rgba(74, 108, 247, 0.4); }
.btn-signup:hover { background: var(--primary-hover); transform: translateY(-2px); }
.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: white; background: none; border: none; }

/* --- Hero Section --- */
.hero { display: flex; justify-content: center; align-items: center; text-align: center; min-height: 100vh; padding: 100px 0; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 0 20px rgba(74, 108, 247, 0.3); }
.hero-content p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px auto; color: var(--text-muted); }
.hero-content .btn-cta { background: var(--primary-color); color: white; padding: 15px 35px; font-size: 1.1rem; font-weight: 500; border-radius: 10px; text-decoration: none; box-shadow: 0 0 20px rgba(74, 108, 247, 0.5); transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; }
.hero-content .btn-cta:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 0 30px rgba(74, 108, 247, 0.8); }

/* --- Section Styling --- */
.section { padding: 100px 0; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 60px; font-weight: 600; }

/* --- Glass Cards --- */
.stat-card, .feature-card, .testimonial-card, .pricing-card { padding: 30px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--border-radius); backdrop-filter: blur(var(--backdrop-blur)); -webkit-backdrop-filter: blur(var(--backdrop-blur)); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stat-card:hover, .feature-card:hover, .testimonial-card:hover, .pricing-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.stat-card { text-align: center; }
.stat-card i { font-size: 3rem; color: var(--primary-color); }
.stat-card h3 { font-size: 2.8rem; margin: 10px 0; }
.stat-card p { color: var(--text-muted); }

/* --- How It Works Section --- */
.how-it-works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; position: relative; }
.step-card { padding: 30px; text-align: center; }
.step-card .step-number { width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background: var(--primary-color); color: white; font-weight: 700; font-size: 1.5rem; margin: 0 auto 20px auto; }
.step-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.step-card h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* --- Features Section --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { text-align: center; }
.feature-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* --- Testimonials Section --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card .quote { font-style: italic; margin-bottom: 20px; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; margin-top: auto; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; margin-right: 15px; border: 2px solid var(--primary-color); }

/* --- Pricing Section --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: stretch; }
.pricing-card {
    padding: 40px; text-align: center;
    display: flex; flex-direction: column; /* Flexbox for alignment */
}
.pricing-card.popular { transform: scale(1.05); border: 2px solid var(--primary-color); box-shadow: 0 0 40px rgba(74, 108, 247, 0.4); }
.pricing-card h3 { font-size: 1.6rem; }
.pricing-card .price { font-size: 3.5rem; font-weight: 700; margin: 15px 0; color: var(--primary-color); }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card ul { list-style: none; margin: 25px 0; text-align: left; flex-grow: 1; /* ফিচার লিস্টকে প্রসারিত করবে */ }
.pricing-card ul li { padding: 10px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--glass-border); }
.pricing-card ul li i { color: var(--primary-color); }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card .btn {
    width: 100%;
    padding: 15px;
    margin-top: auto; /* বাটনকে নিচে ঠেলে দেবে */
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: block; /* `a` ট্যাগকে ব্লক এলিমেন্ট করা হয়েছে */
}
.pricing-card:not(.popular) .btn {
    background: transparent;
    border: 1px solid var(--primary-color);
}
.pricing-card:not(.popular) .btn:hover {
    background: var(--primary-color);
}

/* --- Call to Action (CTA) Section (Updated) --- */
.cta-content {
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    padding: 60px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.4);
}
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 15px; }
.cta-content p { color: rgba(255,255,255,0.8); }
.btn-cta-secondary {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block; /* `a` ট্যাগকে ব্লক করা হয়েছে */
    margin-top: 30px;
}
.btn-cta-secondary:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- FAQ Section (Updated) --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.faq-item.active .faq-question, .faq-question:hover {
    background-color: rgba(74, 108, 247, 0.1);
    color: var(--primary-color);
}
.faq-question::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.3s ease-out; }
.faq-answer p { padding: 0 20px 20px 20px; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 200px; }

/* --- Footer (Updated) --- */
.footer { padding: 60px 0 20px 0; margin-top: 60px; border-top: 1px solid var(--glass-border); background: rgba(16, 18, 33, 0.4); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary-color); font-weight: 600; }
.footer-column p, .footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-column a:hover { color: white; padding-left: 5px; }
.footer-column i { margin-right: 10px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: var(--text-muted); }
.footer-bottom a { color: var(--primary-color); }
/* --- END: সমাধান --- */