/* ===================================================
   LEGALSPOT — Home Page Styles (index.css)
   =================================================== */

/* ---- HERO SECTION ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow background */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: float-glow 10s ease-in-out infinite;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--black));
    pointer-events: none;
}

.hero-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.15);
    border: 1px solid var(--border-navy);
    border-radius: var(--radius-xl);
    padding: 0.45rem 1.25rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy-bright);
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy-bright);
    animation: pulse-glow 2s infinite;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em; /* Arial needs less negative kern than Garet */
    margin-bottom: var(--space-md);
}

.hero-desc {
    font-size: var(--fs-md);
    font-weight: 400;  /* Arial Regular for body-level hero description */
    color: var(--gray-light);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: var(--fs-xs);
    color: var(--gray-mid);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---- ABOUT SECTION ---- */
.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-card-stack {
    position: relative;
    height: 340px;
}

.about-card-inner {
    position: absolute;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-card-main {
    background: var(--black-card);
    border: 1px solid var(--border);
    inset: 0 0 30px 0;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.about-card-accent {
    background: linear-gradient(135deg, var(--navy) 0%, #06112c 100%);
    border: 1px solid var(--border-navy);
    bottom: 0;
    right: -20px;
    left: 30px;
    top: 30px;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--border-navy);
    border-radius: var(--radius-xl);
    padding: 0.4rem 1rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--navy-bright);
    margin-bottom: 0.75rem;
}

.about-card-title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.about-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--border-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrap svg {
    width: 18px;
    height: 18px;
    stroke: var(--navy-bright);
    fill: none;
    stroke-width: 1.8;
}

.feature-text h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.feature-text p {
    font-size: var(--fs-xs);
    color: var(--gray-mid);
    line-height: 1.6;
}

/* ---- CEO SPEECH ---- */
.ceo-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.ceo-section::before {
    content: '';
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(13, 43, 105, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ceo-landscape-card {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-xl);
    background-color: var(--white-bg);
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.ceo-identity-aside {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: var(--space-xl);
    border-right: 1px solid var(--border);
}

.ceo-photo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--navy-bright);
    margin-bottom: var(--space-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

.ceo-name-small {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.ceo-role-small {
    font-size: var(--fs-xs);
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ceo-org-small {
    font-size: 10px;
    color: var(--gray-mid);
    margin-top: 0.2rem;
}

.ceo-quote-content {
    flex: 1;
    position: relative;
}

.ceo-quote-content::before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 5rem;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.3;
}

.ceo-quote-text {
    font-size: var(--fs-md); /* slightly larger than base for readability */
    line-height: 1.85;
    color: var(--black);
    font-style: italic; /* Arial Italic for elegant quote styling */
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .ceo-landscape-card {
        flex-direction: column;
        padding: var(--space-lg);
    }

    .ceo-identity-aside {
        flex: none;
        padding-right: 0;
        padding-bottom: var(--space-lg);
        border-right: none;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
}

/* ---- VISION & MISSION ---- */
.vm-section {
    position: relative;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.vm-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition);
}

.vm-card:hover {
    border-color: var(--border-navy);
    box-shadow: var(--shadow-navy);
}

.vm-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(13, 43, 105, 0.2);
    border: 1px solid var(--border-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.vm-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--navy-bright);
    fill: none;
    stroke-width: 1.8;
}

.vm-card h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.vm-mission-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vm-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: var(--gray-light);
    line-height: 1.7;
}

.vm-mission-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navy-bright);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

/* ---- CTA BANNER ---- */
.cta-banner {
    background: var(--black);
    padding: var(--space-2xl) 0;
}

.cta-banner-inner {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-navy);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), var(--shadow-navy);
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-text h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
}

.cta-banner-btns {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--white-muted);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
    padding: var(--space-2xl) 0;
    background: var(--black);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: var(--space-md);
    animation: marquee 80s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - var(--space-md) / 2));
    }
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 340px;
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.03);
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex-shrink: 0;
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--navy-bright);
    transform: translateY(-5px);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info .user-name {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.1rem;
}

.user-info .user-role {
    font-size: 11px;
    color: var(--navy-bright);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.testimonial-text {
    font-size: var(--fs-sm);
    color: var(--gray-light);
    line-height: 1.7;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {

    .about-grid,
    .ceo-grid {
        grid-template-columns: 1fr;
    }

    .ceo-profile {
        position: static;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .cta-banner-text h2 {
        font-size: var(--fs-xl);
    }

    .cta-banner-btns {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}