/* BCINPLUS - Modern Design System
   Inspired by Statim Management aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #0d3460; /* Dark Forest Green / Teal */
    --accent-color: #48c1e4; /* Cyan / Light Blue */
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #f4f7f8;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Montserrat', sans-serif;
}

/* TOP BAR */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.top-bar .page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* HEADER */
header.main-header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-symbol img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* NAVIGATION */
.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* AUTH BUTTONS IN NAV */
.btn-nav-action {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem !important;
}

.btn-create-account {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-create-account:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-client-space {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-client-space:hover {
    background-color: #0a2548;
}

/* HERO SECTION */
.hero-slider {
    position: relative;
    height: 600px;
    background: #000;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text-box {
    max-width: 500px;
    color: white;
}

.hero-text-box h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.btn-hero {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-hero:hover {
    background-color: white;
    color: var(--primary-color);
}

/* INTRO SECTION */
.intro-section {
    padding: 100px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
}

.underline-accent {
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 30px;
}

.intro-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.intro-section p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

.btn-primary-sc {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary-sc:hover {
    background-color: #0a2548;
    transform: translateY(-3px);
}

/* APPROACH SECTION (Overlap Circles) */
.approach-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.approach-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 0 20px;
}

.approach-visual {
    position: relative;
    height: 400px;
}

.circle-img {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.circle-1 {
    width: 320px;
    height: 320px;
    top: 0;
    right: 50px;
    z-index: 2;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    left: 80px;
    z-index: 1;
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.approach-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.btn-secondary-sc {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* NEEDS GRID */
.needs-section {
    padding: 100px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.needs-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.needs-visual img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.needs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.need-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
    position: relative;
}

.btn-text::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent-color);
    margin-top: 4px;
    transition: width 0.3s;
}

.btn-text:hover::after {
    width: 100%;
}

/* ADVANTAGES */
.advantages-section {
    background-color: var(--bg-light);
    padding: 80px 20px;
    text-align: center;
}

.advantages-grid {
    max-width: var(--max-width);
    margin: 50px auto 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.advantage-item {
    flex: 1;
}

.adv-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.advantage-item h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* FOOTER */
.main-footer {
    padding: 80px 20px 40px;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h5 {
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* MODALS - Adaptation to new theme */
.modal-header {
    background: var(--bg-light);
    border-bottom: 4px solid var(--accent-color);
}

.btn-submit {
    background-color: var(--primary-color) !important;
}

.btn-submit:hover {
    background-color: #0a2548 !important;
}

@media (max-width: 900px) {
    .approach-container, .needs-layout, .footer-top {
        grid-template-columns: 1fr;
    }
    .advantages-grid {
        flex-wrap: wrap;
    }
    .advantage-item {
        flex: 1 1 45%;
    }
}

/* ── MODALS (Global) ── */
.modal {
    display:none; position:fixed; z-index:9999; left:0; top:0; width:100%; height:100%;
    background:rgba(0,25,50,.85); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); overflow-y:auto;
}
.modal-box {
    background:#fff; margin:4% auto; width:95%; max-width:720px; border-radius:12px;
    overflow:hidden; animation:mIn .4s cubic-bezier(0.16, 1, 0.3, 1); position:relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.modal-box-sm { max-width:440px; }
@keyframes mIn { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }

.modal-head { background:#fff; padding:40px 45px 30px 45px; border-bottom:3px solid var(--accent-color); position:relative; }
.modal-head h3 { font-size:1.85rem; color:var(--primary-color); margin-bottom:10px; font-weight:800; letter-spacing: -0.5px; }
.modal-head p { color:#64748b; font-size:1.05rem; line-height:1.5; }

.modal-close { position:absolute; top:25px; right:30px; font-size:28px; cursor:pointer; color:#94a3b8; transition:.2s; border:none; background:none; }
.modal-close:hover { color:var(--primary-color); transform: scale(1.1); }

.modal-body { padding:45px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:25px; margin-bottom:25px; }
.form-group label { display:block; font-size:.95rem; font-weight:700; color:#334155; margin-bottom:12px; }
.form-group input, .form-group select { 
    width:100%; padding:14px 18px; border:1px solid #cbd5e1; border-radius:6px; 
    font-family:inherit; font-size:1rem; color:var(--text-color); transition:all .2s ease;
    background-color: #fff;
}
.form-group input::placeholder { color:#94a3b8 !important; opacity: 1; }
.form-group input:focus { outline:none; border-color:var(--accent-color); box-shadow:0 0 0 4px rgba(72,193,228,.15); }

.form-group.full { grid-column: span 2; }

.form-foot { margin-top:15px; text-align:left; border-top: 1px solid #f1f5f9; padding-top: 35px; display: flex; flex-direction: column; align-items: flex-start; }
.btn-form { 
    background:var(--primary-color); color:#fff; border:none; padding:16px 40px; 
    font-size:1.05rem; font-weight:800; border-radius:6px; cursor:pointer; transition:.3s;
    display: inline-block;
}
.btn-form:hover { background:#0a2548; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(13, 52, 96, 0.3); }

.form-note { margin-top:20px; color:#64748b; font-size:0.9rem; font-style: normal; }
.err-msg { display:none; color:#ef4444; font-size:.8rem; margin-top:6px; font-weight: 500; }

.btn-form-wide { width: 100%; text-align: center; }
.form-foot.center { text-align: center; align-items: center; }
.recover-link { display: block; margin-top: 18px; color: var(--primary-color); font-size: 0.88rem; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.recover-link:hover { color: var(--accent-color); }

/* Footer list styling */
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { text-decoration: none; color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-color); }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; gap: 15px; }
    .form-group.full { grid-column: span 1; }
    .modal-box { margin: 2% auto; width: 98%; }
    .modal-head, .modal-body { padding: 30px 20px; }
}
