/* =============================================
   LANDING CLEAN (V4) - Section Styles
   Light theme (stone palette, #3D9B6B)
   ============================================= */

/* ---- Hero ---- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(12, 10, 9, 0.6) 0%,
            rgba(12, 10, 9, 0.35) 6%,
            rgba(12, 10, 9, 0.12) 14%,
            transparent 22%
        ),
        linear-gradient(
            35deg,
            rgba(12, 10, 9, 0.85) 0%,
            rgba(12, 10, 9, 0.5) 35%,
            rgba(12, 10, 9, 0.1) 60%,
            transparent 80%
        );
}

.hero-content {
    position: absolute;
    bottom: 12%;
    left: 4%;
    max-width: 620px;
    z-index: 2;
    will-change: transform, opacity;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--stone-950);
    padding: 0.9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--eg-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 155, 107, 0.3);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ---- Facility Tour ---- */
.facility-tour {
    padding: 8rem 0;
    margin-top: -6rem;
    position: relative;
    z-index: 2;
}

.tour-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    padding: 3rem 4%;
    background: var(--stone-50);
    border-radius: 16px;
    position: relative;
    z-index: 3;
}

.tour-intro h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.tour-intro p {
    color: var(--stone-600);
    font-size: 1.1rem;
}

.tour-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3%;
    margin-bottom: 6rem;
}

.tour-row:last-child {
    margin-bottom: 0;
}

.tour-row:nth-child(even) {
    grid-template-columns: 1fr 1.4fr;
}

.tour-row:nth-child(even) .tour-image {
    order: 2;
}

.tour-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.tour-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tour-text {
    padding: 3rem 4rem;
}

.tour-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--stone-800);
    margin-bottom: 1.25rem;
}

.tour-text p {
    color: var(--stone-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ---- Video Walkthrough (inset dark container) ---- */
.video-break {
    padding: 4rem 4% 6rem;
    text-align: center;
}

.video-break-header {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.video-break-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--stone-800);
    margin-bottom: 0.75rem;
}

.video-break-header p {
    color: var(--stone-600);
    font-size: 1rem;
    font-weight: 300;
}

.video-inset {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--stone-950);
    border-radius: 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

.video-container {
    border-radius: 12px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Solutions ---- */
.solutions {
    padding: 8rem 4%;
}

.solutions-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.solutions-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.solutions-header p {
    color: var(--stone-600);
    font-size: 1.1rem;
}

.solutions-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-column {
    text-align: left;
}

.solution-column .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--eg-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eg-green);
    margin-bottom: 1.5rem;
}

.solution-column h3 {
    font-size: 1.5rem;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
}

.solution-column h3 {
    font-size: 0.95rem;
    color: var(--eg-green);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
}

.solution-column p {
    color: var(--stone-600);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* ---- Proof / Traction (inset dark card) ---- */
.proof {
    padding: 2rem 4% 6rem;
    color: white;
}

.proof-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    background: var(--stone-950);
    border-radius: 20px;
    padding: 5rem 4rem;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.proof-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/logos/egai-mark-tile.png') repeat;
    background-size: 240px auto;
    opacity: 0.07;
    pointer-events: none;
}

.proof-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: var(--eg-green);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.proof-stats {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.proof-stat {
    border-left: 3px solid var(--eg-green);
    padding-left: 1.5rem;
}

.proof-stat .number {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.proof-stat .label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.proof-people-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proof-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.proof-person {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.proof-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.proof-person:hover img {
    filter: grayscale(0%);
}

.proof-person .person-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.proof-person .person-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.proof-person .person-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.proof-team-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.proof-team-link:hover {
    color: var(--eg-green);
}

/* ---- Invitation / CTA ---- */
.invitation {
    position: relative;
    padding: 10rem 4%;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--stone-200);
}

.invitation-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.invitation-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.invitation-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: white;
    margin-bottom: 1.5rem;
}

.invitation-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--stone-950);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--eg-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 155, 107, 0.3);
}

.invitation-sub-link {
    display: block;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.invitation-sub-link:hover {
    color: rgba(255, 255, 255, 0.8);
}
