body { font-family: 'Inter', sans-serif; background: #f8fafc; margin: 0; color: #1e293b; }

/* LAYOUT MARGINS */
.main-content-wrapper {
    margin-top: 5rem;
}

/* NAV */
.sub-nav-container {
    position: fixed; 
    top: 60px; /* Assuming main header is ~60px */
    left: 0; 
    width: 100%; 
    height: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 900; /* Just below header */
}
.hero-bg-gradient { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 70%); }

.tab-switcher { display: flex; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 99px; padding: 3px; }
.tab-btn { padding: 6px 20px; border-radius: 99px; color: #94a3b8; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.3s; display: flex; gap: 8px; align-items: center; }
.tab-btn.active { background: white; color: #0f172a; }

/* SECTIONS */
.screen-section { 
    min-height: calc(100vh - 60px); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 40px 4%; 
    border-bottom: 1px solid #e2e8f0; 
    position: relative; 
}
.bg-alt-1 { background: #f8fafc; }
.bg-alt-2 { background: #ffffff; }

.section-header { text-align: center; margin-bottom: 40px; }

/* GRID */
.focus-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    max-width: 1400px; 
    margin: 0 auto; 
    width: 100%;
}

.focus-card {
    background: white; 
    border-radius: 20px; 
    border: 1px solid #e2e8f0; 
    overflow: hidden;
    cursor: pointer; 
    transition: 0.4s ease; 
    opacity: 0.8; 
    transform: scale(0.98);
    display: flex; 
    flex-direction: column;
    height: 100%; 
}

.focus-card:hover, .focus-card.is-active { 
    opacity: 1; 
    transform: scale(1.02); 
    border-color: #3b82f6; 
    box-shadow: 0 20px 40px rgba(59,130,246,0.15); 
    z-index: 10; 
}

/* CARD CONTENT */
.card-img { 
    height: 150px; 
    width: 100%; 
    overflow: hidden; 
    flex-shrink: 0; 
    background: #f1f5f9; 
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body { 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1;
    text-align: left;
}

.card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 16px; font-size: 20px; }
.card-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; color: #0f172a; line-height: 1.3; }
.card-text { font-size: 0.95rem; color: #64748b; line-height: 1.5; margin-bottom: 16px; }
.card-list { list-style: disc; padding-left: 18px; font-size: 0.9rem; color: #475569; space-y: 6px; }
.card-list li { margin-bottom: 4px; }

/* FAQ SECTION - STYLED */
.faq-section { 
    padding: 80px 20px; 
    background: #ffffff; 
    max-width: 900px; 
    margin: 0 auto; 
}
.faq-group { display: none; animation: fadeIn 0.5s ease; }
.faq-group.active { display: block; }

.faq-item { 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}
.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.faq-item summary { 
    padding: 20px; 
    font-weight: 700; 
    cursor: pointer; 
    list-style: none; 
    color: #1e293b; 
    font-size: 1.1rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #94a3b8;
    transition: 0.3s;
}
.faq-item[open] summary::after { 
    content: '-'; 
    color: #3b82f6; 
}
.faq-item[open] summary { border-bottom: 1px solid #f1f5f9; }

.faq-answer { 
    padding: 20px; 
    color: #475569; 
    line-height: 1.7; 
    background: #f8fafc;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* CTA SECTION */
.cta-section { 
    padding: 100px 20px; 
    text-align: center; 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
    color: white; 
    position: relative;
    overflow: hidden;
}
.cta-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }
.cta-text { font-size: 1.2rem; color: #94a3b8; margin-bottom: 40px; }
.cta-main-btn { 
    background: linear-gradient(90deg, #3b82f6, #2563eb); 
    color: white; 
    padding: 18px 50px; 
    border-radius: 99px; 
    font-weight: 700; 
    text-decoration: none; 
    display: inline-block; 
    transition: 0.3s; 
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    font-size: 1.1rem;
}
.cta-main-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6); }

/* SCROLL ARROW */
.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    font-size: 2rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 20;
}
.scroll-arrow:hover { color: #3b82f6; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* UTILS */
.grad-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.grad-green { background: linear-gradient(135deg, #10b981, #059669); }
.grad-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.grad-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.grad-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.grad-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }

/* MODAL */
.feature-modal { position: fixed; inset: 0; background: rgba(15,23,42,0.95); backdrop-filter: blur(8px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.feature-modal.active { display: flex; }
.feature-modal-content { background: white; max-width: 1000px; width: 100%; border-radius: 24px; display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; max-height: 85vh; }
.modal-visual img { width: 100%; height: 100%; object-fit: cover; }
.modal-details { padding: 40px; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; font-size: 28px; color: #64748b; cursor: pointer; }
.cta-btn { background: #2563eb; color: white; padding: 12px 32px; border-radius: 99px; font-weight: 700; text-decoration: none; display: inline-block; }

.user-group-container { display: none; }
.user-group-container.active { display: block; }

/* MEDIA QUERIES */
@media (max-width: 1024px) { 
    .focus-grid { grid-template-columns: repeat(2, 1fr); } 
    .feature-modal-content { display: flex; flex-direction: column; max-height: 90vh; height: auto; }
    .modal-visual { display: none; }
    .modal-details { flex: 1; overflow-y: auto; padding: 30px 20px; }
}

@media (max-width: 640px) {
    .main-content-wrapper { margin-top: 0; }
    .sub-nav-container { position: sticky; top: 0; } 
    .focus-grid { grid-template-columns: 1fr; }
    .scroll-arrow { display: none; }
    body { padding-top: 0 !important; }
    .screen-section { padding: 20px 5%; }
    .section-header { margin-bottom: 25px; }
    
    .cta-title { font-size: 1.8rem; }
    .cta-text { font-size: 1rem; }
}

@media (max-width: 420px) {
    .section-header h2 { font-size: 1.5rem !important; }
    .card-title { font-size: 0.95rem; margin-bottom: 6px; }
    .card-text  { font-size: 0.8rem; line-height: 1.4; margin-bottom: 12px; }
    .card-list  { font-size: 0.75rem; padding-left: 14px; space-y: 4px; }
    
    /* Modal Text Reduction */
    .modal-details h3 { font-size: 1.5rem !important; margin-bottom: 15px !important; }
    .modal-details .text-lg { font-size: 0.9rem !important; line-height: 1.5 !important; }
    .modal-details ul { padding-left: 1rem !important; }
    .modal-details li { font-size: 0.85rem !important; margin-bottom: 0.5rem !important; }
    .cta-btn { padding: 10px 24px; font-size: 0.9rem; }
    
    .card-body  { padding: 16px; }
    .card-icon  { width: 32px; height: 32px; font-size: 16px; margin-bottom: 10px; }
    .card-img   { height: 120px; }
}