/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background-color: #f8fafc;
    color: #334155;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Reusable Components --- */
.btn-primary {
    background: #4f46e5;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #4338ca;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin: 10px 0;
}

.badge-top {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Header / Navbar --- */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #1e293b;
}

.logo span {
    color: #4f46e5;
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #4f46e5;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text .badge {
    background: #dcfce7;
    color: #15803d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 3rem;
    color: #1e293b;
    margin: 20px 0;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-secondary {
    background: #fff;
    color: #1e293b;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Hero Mockup Box --- */
.hero-mockup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.mockup-header {
    background: #f1f5f9;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.mockup-url {
    margin-left: auto;
    font-size: 0.85rem;
    color: #94a3b8;
}

.mockup-body {
    padding: 25px;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-box h3 {
    font-size: 1.5rem;
    margin-top: 5px;
}

.stat-full {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.text-danger { color: #ef4444; }
.text-success { color: #10b981; }

/* --- Counters Section --- */
.counters {
    background: #1e293b;
    color: #fff;
    padding: 40px 0;
}

.counters-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.counter-item h2 {
    font-size: 2rem;
    color: #38bdf8;
}

/* ==========================================================================
   4. Features Section (Click-based 3D Flip + Glowing Border Hover)
   ========================================================================== */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flip-card-container {
    perspective: 1200px;
    height: 280px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* JavaScript দিয়ে এই ক্লাসটি যোগ-বিয়োগ করা হবে */
.flip-card.flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 14px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-front {
    background: #fff;
    border: 0.5px solid #e2e8f0;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.card-front h3 {
    font-size: 1.35rem;
    color: #1e293b;
}

.card-front p {
    font-size: 0.95rem;
    color: #64748b;
}

.btn-more {
    background: none;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-back {
    color: #fff;
    transform: rotateY(180deg);
}

.back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-header h3 {
    font-size: 1.15rem;
}

.btn-back {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s;
}

.btn-back:hover {
    background: rgba(255,255,255,0.4);
}

.back-list {
    list-style: none;
    font-size: 0.85rem;
    margin: 10px 0;
}

.back-list li {
    margin-bottom: 5px;
}

.btn-card-action {
    background: #fff;
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* --- Glowing Border Hover Effects Themes --- */
.border-light-purple { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-purple {
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.65);
}
.bg-purple { background: #a855f7; }
.text-purple { color: #a855f7; }

.border-light-blue { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-blue {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.65);
}
.bg-blue { background: #3b82f6; }
.text-blue { color: #3b82f6; }

.border-light-orange { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-orange {
    border-color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.65);
}
.bg-orange { background: #f97316; }
.text-orange { color: #f97316; }

.border-light-teal { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-teal {
    border-color: #0d9488;
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.65);
}
.bg-teal { background: #0d9488; }
.text-teal { color: #0d9488; }

.border-light-pink { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-pink {
    border-color: #db2777;
    box-shadow: 0 0 20px rgba(219, 39, 119, 0.65);
}
.bg-pink { background: #db2777; }
.text-pink { color: #db2777; }

.border-light-darkorange { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-darkorange {
    border-color: #c2410c;
    box-shadow: 0 0 20px rgba(194, 65, 12, 0.65);
}
.bg-darkorange { background: #c2410c; }
.text-darkorange { color: #c2410c; }


/* --- 5. Pricing Section --- */
.pricing {
    padding: 80px 0;
    background: #f1f5f9;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: #ffffff;
    border: 0.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover, 
.pricing-card.active {
    border-color: #4f46e5;
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 10px 10px -5px rgba(79, 70, 229, 0.04);
}

.pricing-card.active {
    background: linear-gradient(to bottom, #ffffff, #fcfcff);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
 
	left: 50%;
transform: translateX(-50%);

    background: #4f46e5;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-card.active .plan-tag {
    background: #e0e7ff;
    color: #4f46e5;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.pricing-card h2 {
    font-size: 2.3rem;
    color: #0f172a;
    font-weight: 700;
}

.pricing-card .duration {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.price-free { color: #10b981 !important; }

.card-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-content { overflow: hidden; }

.pricing-card:hover .card-details,
.pricing-card.active .card-details {
    grid-template-rows: 1fr;
}

.card-details .desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.card-details ul {
    list-style: none;
    margin-top: 15px;
    margin-bottom: 20px;
}

.card-details ul li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.pricing-card:hover .card-details ul li,
.pricing-card.active .card-details ul li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay) * 40ms);
}

.btn-wrapper {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.pricing-card:hover .btn-wrapper,
.pricing-card.active .btn-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay) * 40ms);
}

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-outline {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #475569;
}

.btn-outline:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #fcfcff;
}

/* --- FAQ Section --- */
.faq {
    padding: 80px 0;
}

.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
    border-top: 1px solid #e2e8f0;
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-gateways {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.bkash-text {
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero-container, .features-grid, .pricing-container {
        grid-template-columns: 1fr;
    }
    .counters-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}









/* --- Glowing Border Hover Effects Themes (Updated for 3-Side Border) --- */

/* ১. দেনাদার ব্যবস্থাপনা (Purple) */
.border-light-purple { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-purple {
    border-color: #a855f7;
    border-top-color: transparent; /* উপরের বর্ডার কালার থাকবে না */
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4); /* শ্যাডো গ্লো */
}
.bg-purple { background: #a855f7; }
.text-purple { color: #a855f7; }

/* ২. SMS তাগাদা (Blue) */
.border-light-blue { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-blue {
    border-color: #3b82f6;
    border-top-color: transparent;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}
.bg-blue { background: #3b82f6; }
.text-blue { color: #3b82f6; }

/* ৩. স্টক ট্র্যাকিং (Orange) */
.border-light-orange { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-orange {
    border-color: #f97316;
    border-top-color: transparent;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}
.bg-orange { background: #f97316; }
.text-orange { color: #f97316; }

/* ৪. লাভ/ক্ষতি বিশ্লেষণ (Teal) */
.border-light-teal { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-teal {
    border-color: #0d9488;
    border-top-color: transparent;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.4);
}
.bg-teal { background: #0d9488; }
.text-teal { color: #0d9488; }

/* ৫. ক্যাশবক্স (Pink) */
.border-light-pink { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-pink {
    border-color: #db2777;
    border-top-color: transparent;
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.4);
}
.bg-pink { background: #db2777; }
.text-pink { color: #db2777; }

/* ৬. নিরাপদ ও বিশ্বস্ত (Darkorange) */
.border-light-darkorange { border-color: #e2e8f0; }
.flip-card-container:hover .card-front.border-light-darkorange {
    border-color: #c2410c;
    border-top-color: transparent;
    box-shadow: 0 10px 20px rgba(194, 65, 12, 0.4);
}
.bg-darkorange { background: #c2410c; }
.text-darkorange { color: #c2410c; }

























/* ==========================
   FOOTER
========================== */

.footer {
    background: linear-gradient(
        135deg,
        #020617,
        #030b35,
        #020617
    );
    color: #94a3b8;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:80px;
    flex-wrap:wrap;
}

.footer-about{
    flex:1;
    min-width:300px;
}

.footer-about h2{
    color:#fff;
    font-size:32px;
    margin-bottom:20px;
}

.footer-about p{
    line-height:1.8;
    max-width:420px;
}

.footer-links{
    display:flex;
    gap:80px;
    flex-wrap:wrap;
}

.footer-column h3{
    color:#fff;
    margin-bottom:20px;
    font-size:20px;
}

.footer-column ul{
    list-style:none;
    padding:0;
}

.footer-column li{
    margin-bottom:14px;
}

/* ==========================
   LINK ANIMATION
========================== */

.footer-column a{
    position:relative;
    display:inline-block;
    text-decoration:none;
    color:#94a3b8;
    transition:all .35s ease;
    padding-left:0;
}

/* Left Arrow */

.footer-column a::before{
    
    position:absolute;
    left:-8px;
    opacity:0;
    transform:translateX(-10px);
    transition:all .35s ease;
    color:#60a5fa;
}

/* Hover Effect */

.footer-column a:hover{
    color:#ffffff;
    padding-left:8px;
}

.footer-column a:hover::before{
    opacity:1;
    transform:translateX(0);
}

/* Underline Animation */

.footer-column a::after{
  
    position:absolute;
    left:0;
    bottom:-4px;
    width:0;
    height:2px;
    background:#60a5fa;
    transition:.35s;
}

.footer-column a:hover::after{
    width:100%;
}

/* ==========================
   FOOTER BOTTOM
========================== */

.footer-bottom{
    text-align:center;
    margin-top:60px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.08);
    color:#64748b;
}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .footer-container{
        flex-direction:column;
        gap:40px;
    }

    .footer-links{
        gap:40px;
    }

    .footer-about h2{
        font-size:26px;
    }
}


