/* --- CORE VARIABLES --- */
:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 25, 0.9); 
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-cyan: #00f2ff;
    --neon-violet: #7000ff;
    --neon-green: #00ff88;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --dock-bg: rgba(10, 10, 15, 0.9);
    --font-body: 'Hind Siliguri', sans-serif;
    --font-heading: 'Tiro Bangla', serif;
    --font-ui: 'Noto Sans Bengali', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body { 
    background-color: var(--bg-color); 
    color: var(--text-primary); 
    font-family: var(--font-body);
    overflow-x: hidden; 
    min-height: 100vh; 
}

/* --- BACKGROUND --- */
#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* --- LAYOUT --- */
#app-wrapper, #details-page-wrapper { padding: 10px 15px 120px 15px; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }

/* --- TYPOGRAPHY ASSIGNMENTS --- */
h1, h2, h3, .company-name, .designer-name, .card-title, .section-title {
    font-family: var(--font-heading);
}

.company-tag, .designer-label, .sp-label, .feature-title-label, .guide-title, .faq-question, .support-title, .issue-report-btn {
    font-family: var(--font-ui);
    letter-spacing: 0.5px;
}

/* --- HEADER & BRANDING --- */
.mother-company-branding { text-align: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 25px; }
.company-logo-container { width: 150px; margin: 0 auto 15px auto; }
.company-logo-img { width: 100%; height: auto; object-fit: contain; }
.company-name { font-size: 1.8rem; font-weight: 400; color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.2); }
.company-tag { color: var(--neon-violet); font-size: 0.95rem; margin-bottom: 8px; letter-spacing: 1px;}
.company-loc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 15px; }
.company-socials { display: flex; justify-content: center; gap: 25px; margin-top: 10px; }
.c-social-icon { color: var(--text-secondary); font-size: 1.3rem; transition: 0.3s; text-decoration: none; }
.c-social-icon:hover { color: var(--neon-cyan); transform: scale(1.15); text-shadow: 0 0 10px var(--neon-cyan); }

.search-container { position: relative; width: 100%; margin-bottom: 25px; }
.search-input { width: 100%; padding: 14px 20px 14px 45px; border-radius: 14px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.05); color: #fff; font-size: 1rem; font-family: var(--font-body); backdrop-filter: blur(10px); transition: 0.3s; }
.search-input:focus { border-color: var(--neon-violet); background: rgba(255,255,255,0.08); box-shadow: 0 0 15px rgba(112, 0, 255, 0.25); outline: none;}
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); }

/* --- APP GRID --- */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.app-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 16px; position: relative; backdrop-filter: blur(15px); cursor: pointer; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 155px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); transition: transform 0.2s; }
.card-wide { grid-column: span 2; display: flex; flex-direction: row; align-items: center; min-height: 120px; }
.card-tall { grid-row: span 2; min-height: 320px; }
.app-card:active { transform: scale(0.97); }
.card-icon-box { width: 50px; height: 50px; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.4); background: transparent; overflow: hidden; }
.card-logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.card-wide .card-icon-box { margin-bottom: 0; margin-right: 15px; width: 60px; height: 60px; }
.card-content { flex: 1; }
.card-title { font-size: 1.3rem; font-weight: 400; margin-bottom: 3px; color: #fff; }
.card-sub { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.card-wide .card-sub { -webkit-line-clamp: 1; }

.get-btn { background: rgba(255,255,255,0.05); color: var(--neon-cyan); font-weight: 700; font-size: 0.75rem; padding: 8px 16px; border-radius: 20px; text-transform: uppercase; align-self: flex-start; margin-top: 10px; backdrop-filter: blur(5px); border: 1px solid rgba(0, 242, 255, 0.5); box-shadow: 0 0 15px rgba(0, 242, 255, 0.25); text-shadow: 0 0 8px rgba(0, 242, 255, 0.6); transition: 0.3s; }
.app-card:hover .get-btn { background: var(--neon-cyan); color: #000; box-shadow: 0 0 25px var(--neon-cyan); }
.card-wide .get-btn { margin-top: 0; margin-left: auto; }

/* --- FAQ SECTION & GENERAL SECTION TITLE --- */
.section-title { text-align: center; font-weight: 400; font-size: 1.5rem; margin-bottom: 20px; margin-top: 40px; color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 242, 255, 0.3); }
.faq-section { margin-top: 20px; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 15px; border-radius: 12px; margin-bottom: 12px; cursor: pointer; transition: 0.3s; }
.faq-question { display: flex; justify-content: space-between; font-weight: 600; font-size: 1rem; color: #e0e0e0; align-items: center; }
.faq-answer { display: none; margin-top: 12px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }

/* --- SERVICE POINT & FOOTER --- */
.service-point-section { margin: 35px 0 20px 0; text-align: center; }
.sp-label { color: var(--neon-green); font-size: 0.9rem; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 15px; display: inline-block; border: 1px solid var(--neon-green); padding: 4px 12px; border-radius: 20px; box-shadow: 0 0 10px rgba(0,255,136,0.2); }
.sp-icons-row { display: flex; justify-content: center; gap: 20px; }
.sp-icon-btn { width: 55px; height: 55px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; transition: 0.3s; backdrop-filter: blur(5px); text-decoration: none; }
.sp-icon-btn:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 20px var(--neon-cyan); transform: translateY(-3px); }

.main-footer { text-align: center; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }
.designer-block { margin-bottom: 20px; }
.designer-label { font-size: 0.8rem; color: #666; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; }
/* UPDATED: Reduced font size for designer name */
.designer-name { font-size: 1.6rem; font-weight: 400; color: #fff; margin-bottom: 2px; }
.designer-role { color: var(--text-secondary); font-size: 0.9rem; }

/* --- DETAILS PAGE STYLES --- */
.developer-header { text-align: center; padding: 10px 0 25px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); margin-bottom: 20px; }
.developer-header-label { font-size: 0.7rem; color: #888; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; font-family: sans-serif; }
.developer-header-logo { width: 100px; opacity: 0.9; }
.overlay-container { max-width: 800px; margin: 0 auto; padding: 20px; padding-bottom: 60px; }
.back-nav { margin: 10px 0 20px 0; }
.back-btn { background: rgba(255,255,255,0.1); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; border: 1px solid var(--glass-border); text-decoration: none;}
.detail-section { margin-bottom: 30px; }

.install-guide-box { background: #111; border-radius: 16px; padding: 25px; margin-bottom: 25px; border: 1px solid #222; }
.guide-title { font-size: 1.2rem; color: #fff; border-left: 3px solid #ae00ff; padding-left: 10px; margin-bottom: 20px; font-weight: 700; }
.step-list { list-style: none; padding-left: 5px; }
.step-item { display: flex; align-items: flex-start; margin-bottom: 15px; color: #bbb; font-size: 0.95rem; line-height: 1.6; }
.step-icon { min-width: 25px; color: #888; margin-top: 4px; }

.feature-title-label { background: #0044cc; color: #fff; display: inline-block; padding: 5px 12px; border-left: 3px solid #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; }
.feat-item { display: flex; align-items: center; margin-bottom: 12px; font-size: 1rem; color: #e0e0e0; }
.feat-check { color: #00ff88; margin-right: 12px; font-size: 1.2rem; background: #000; border-radius: 50%; }

/* --- SUPPORT BOX STYLES --- */
.support-box { background: rgba(20,20,30,0.6); border: 1px solid var(--glass-border); border-radius: 16px; padding: 25px; text-align: center; }
.support-title { color:#fff; margin-bottom: 20px; font-size: 1.3rem; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.c-btn { height: 50px; border-radius: 12px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; border: 1px solid transparent; transition: 0.3s; font-size: 1.2rem; }
.c-btn:hover { border-color: var(--neon-cyan); background: rgba(0, 242, 255, 0.1); transform: translateY(-3px); }

.issue-report-btn { width: 100%; padding: 14px; background: transparent; border: 1px solid var(--neon-violet); color: var(--neon-violet); border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.issue-report-btn:hover { background: var(--neon-violet); color: #fff; box-shadow: 0 0 20px rgba(112, 0, 255, 0.5); }

#report-form-container { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.5s ease-in-out; }
#report-form-container.visible { max-height: 300px; opacity: 1; margin-top: 20px; }

.report-area { display: flex; flex-direction: column; gap: 10px; }
.report-input { flex: 1; padding: 12px 15px; background: #0a0a0f; border: 1px solid #333; color: #fff; border-radius: 8px; font-size: 1rem; width: 100%; transition: 0.3s; font-family: var(--font-body); }
.report-input:focus { border-color: var(--neon-violet); background: #000; outline: none; }
.send-report-btn { width: 100%; height: 45px; background: var(--neon-cyan); border: none; border-radius: 8px; cursor: pointer; font-size: 1.1rem; color: #000; display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; transition: 0.3s; font-family: var(--font-ui); }
.send-report-btn:hover { background: #fff; box-shadow: 0 0 20px var(--neon-cyan); }

/* --- PORTAL BUTTON & ANIMATIONS --- */
.portal-btn-outline { 
    width: 100%; padding: 15px; background: transparent; 
    border: 2px solid #9d4eff; border-radius: 12px;
    color: #9d4eff; font-weight: 700; font-size: 1.1rem;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-top: 10px; transition: 0.3s; font-family: var(--font-heading);
    /* ADDED: Properties for shine animation */
    position: relative;
    overflow: hidden;
}
.portal-btn-outline:hover { background: #9d4eff; color: #fff; }

/* NEW: Shine animation for the portal button */
.portal-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 75%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shineEffect 3.5s infinite linear;
}

@keyframes shineEffect {
    from { left: -150%; }
    to { left: 150%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-entry-animation { animation: fadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.reveal-on-load { opacity: 0; transform: translateY(20px); }

/* --- DOCK PANEL --- */
.dock-nav { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--dock-bg); backdrop-filter: blur(25px); padding: 10px 20px; border-radius: 35px; border: 1px solid rgba(255,255,255,0.15); display: flex; gap: 30px; z-index: 50; box-shadow: 0 15px 40px rgba(0,0,0,0.6); }
.dock-item { color: #888; font-size: 1.3rem; position: relative; cursor: pointer; transition: 0.3s; }
.dock-item:hover, .dock-item.active { color: var(--neon-cyan); transform: translateY(-3px); }
.dock-item.active::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--neon-cyan); border-radius: 50%; }