/*
==========================================================
 LegalDocus UI 2.0
 Premium Landing Page Styles
 Author: ChatGPT
==========================================================
*/

/* ---------- Root ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --success: #16a34a;
    --warning: #f59e0b;
    --info: #0891b2;
    --light: #f8fafc;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 20px;
    --shadow-sm: 0 8px 20px rgba(0,0,0,.06);
    --shadow-md: 0 18px 40px rgba(0,0,0,.10);
    --shadow-lg: 0 25px 70px rgba(37,99,235,.18);
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter,"Segoe UI",sans-serif;
    color: var(--text);
    background: #fff;
}

/* ---------- Hero ---------- */

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#f8fbff,#eef5ff);
    padding: 90px 0 120px;
}

.hero-gradient {
    position: absolute;
    right: -180px;
    top: -180px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle,rgba(37,99,235,.15),transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(37,99,235,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(37,99,235,.03) 1px,transparent 1px);
    background-size: 42px 42px;
}

.hero-left {
    position: relative;
    z-index: 2;
    padding-right: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    color: #b27e2d;
    font-weight: 600;
}

.hero-title {
    margin-top: 30px;
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--secondary);
}

.hero-subtitle {
    margin-top: 25px;
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-btn {
    border-radius: 14px;
    padding: 14px 30px;
    transition: .3s;
}

    .hero-btn:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.hero-features {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-feature {
    display: flex;
    gap: 16px;
    align-items: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    color: var(--primary);
    font-size: 22px;
    box-shadow: var(--shadow-sm);
}

/* ---------- Dashboard ---------- */

.hero-visual {
    position: relative;
    min-height: 620px;
}

.hero-dashboard {
    position: relative;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-live {
    background: #dcfce7;
    color: #15803d;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .85rem;
    font-weight: 600;
}

.document-preview {
    display: flex;
    align-items: center;
    gap: 18px;
}

.document-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eef4ff;
    border-radius: 18px;
    color: var(--primary);
    font-size: 32px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-md);
    min-width: 240px;
    animation: floatCard 5s ease-in-out infinite;
}

.floating-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.floating-content h6 {
    margin: 0;
    font-weight: 700;
}

.floating-content small {
    color: var(--muted);
}

.card-one {
    top: 20px;
    left: -60px;
}

.card-two {
    top: 170px;
    right: -40px;
}

.card-three {
    bottom: 150px;
    left: -40px;
}

.card-four {
    bottom: 20px;
    right: -30px;
}

.dashboard-summary {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.summary-item {
    text-align: center
}

    .summary-item h3 {
        margin: 0;
        color: var(--primary);
        font-weight: 700;
    }

/* ---------- Statistics ---------- */

.hero-statistics {
    margin-top: 90px;
}

.stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: .3s;
    height: 100%;
}

    .stat-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
    }

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #eef4ff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 28px;
}

.counter {
    font-size: 2.3rem;
    font-weight: 800;
    color: #b27e2d;
}

.hero-scroll {
    margin-top: 70px;
}

.scroll-indicator {
    text-decoration: none;
    color: var(--primary);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* ---------- Animations ---------- */

@keyframes floatCard {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.btn-primary:hover {
	background-color: #b27e2d !important;
	border-color: #b27e2d !important;
}

.pricing-card ul, .service-list, .footer-links {
    list-style: none;
    padding-left: 0;
}


/* Why Choose Us Card & Feature Styling */
.why-image-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

.icon-square-container {
    width: 80px;
    height: 80px;
    background-color: #b27e2d;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(178, 126, 45, 0.15);
}

.icon-square-container i {
    font-size: 2.2rem;
}

.why-image-card h3 {
    color: #0c162c;
    font-size: 1.85rem;
    font-weight: 700 !important;
    margin-top: 15px;
    margin-bottom: 2px;
}

.why-image-card .text-muted {
    font-size: 0.95rem;
    color: #4b5563 !important;
}

.why-image-card hr {
    border-top: 1px solid #eaeaea;
    opacity: 1;
    margin: 25px 0;
}

.mini-feature {
    background: #faf8f5;
    border: 1px solid #f1ece4;
    padding: 24px 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.icon-square-mini {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.icon-square-mini i {
    font-size: 1.25rem;
}

.icon-square-mini.green-bg {
    background-color: #2d6a4f;
}

.icon-square-mini.blue-bg {
    background-color: #3b6ca3;
}

.icon-square-mini.purple-bg {
    background-color: #8860d0;
}

.icon-square-mini.gold-bg {
    background-color: #b27e2d;
}

.feature-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: #1f2937;
    margin-top: 2px;
}

/* ---------- Responsive ---------- */

@media(max-width:991px) {

    .hero-title {
        font-size: 2.7rem;
    }

    .hero-left {
        padding-right: 0;
    }

    .hero-visual {
        margin-top: 60px;
        min-height: auto;
    }

    .floating-card {
        position: relative;
        inset: auto;
        margin-top: 20px;
        width: 100%;
    }

    .dashboard-summary {
        flex-direction: column;
        gap: 20px;
    }

    .hero-statistics > .col-lg-3 {
        margin-bottom: 20px;
    }

    .brand-logo {
        height: 42px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }
    .brand-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #14213D;
    }

    .brand-subtitle {
        font-size: .85rem;
        color: #666;
    }

    .lex-navbar {
        transition: .3s;
    }

    .navbar-nav .nav-link {
        padding: 10px 18px;
        font-weight: 600;
        color: #222;
    }

    .navbar-nav .nav-link.active {
        color: #C9972A;
    }

    .navbar-nav .nav-link:hover {
        color: #C9972A;
    }
}

.footer {
    background: #14213D;
    color: #fff;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.footer-tagline {
    color: #d1d5db;
}

.footer-heading {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-text {
    color: #d1d5db;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    color: #d1d5db;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none !important;
    transition: .3s;
}

.footer-links a:hover {
    color: #C9972A;
    padding-left: 6px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none !important;
}

.footer-contact a:hover {
    color: #C9972A;
}

.footer-divider {
    border-color: rgba(255,255,255,.15);
}

.footer-bottom-links a {
    color: #d1d5db;
    text-decoration: none !important;
}

.footer-bottom-links a:hover {
    color: #C9972A;
}

