/* =========================================
   Variables & Reset (Serhant Aesthetic)
========================================= */
:root {
    /* Based on DG Capital but pushed to Serhant's high-contrast look */
    --clr-navy: #22322E; /* Signature dark green */
    --clr-black: #000000;
    --clr-white: #ffffff;
    --clr-page-bg: #F4F4F6; /* Very light gray for main content bg */
    --clr-text: #1a1a1a;
    --clr-text-light: #666666;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --container-width: 1400px;
    --radius-pill: 50px;
    --radius-card: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-black); /* Behind the page wrapper */
    color: var(--clr-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* =========================================
   Typography
========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800; /* Extra bold for impact */
    letter-spacing: -0.03em;
}

/* =========================================
   Announcement Bar
========================================= */
.announcement-bar {
    background-color: var(--clr-black);
    color: var(--clr-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.announcement-bar a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.announcement-bar a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   Page Wrapper (The simulated "App" window)
========================================= */
.page-wrapper {
    position: relative;
    background-color: var(--clr-black);
    border-radius: 36px 36px 0 0;
    overflow: hidden;
    min-height: 100vh;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

/* =========================================
   Navbar (Floating/Overlay)
========================================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--clr-white);
    letter-spacing: -1px;
    white-space: nowrap;
}

.nav-center .nav-search-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.nav-center .nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rounded-pill {
    border-radius: var(--radius-pill);
}

.rounded-circle {
    border-radius: 50%;
}

.btn-white {
    background: var(--clr-white);
    color: var(--clr-black);
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-white:hover {
    background: #e0e0e0;
}

.btn-primary {
    background: var(--clr-navy);
    color: var(--clr-white);
}

.btn-primary:hover {
    background: #151e1c;
    transform: scale(1.02);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.icon-btn {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
    font-size: 1.1rem;
    cursor: pointer;
}

.icon-btn:hover {
    border-color: var(--clr-white);
}

.menu-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
    padding: 12px 24px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.menu-btn:hover {
    border-color: var(--clr-white);
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85); /* Slightly darker for contrast */
}

/* Vignette overlay like Serhant */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.6) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 20%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
}

.hero-title {
    font-size: 6.5rem;
    color: var(--clr-white);
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

/* Serhant Floating Search Box */
.hero-search {
    background: var(--clr-white);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    padding: 8px 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--clr-text);
    background: transparent;
    outline: none;
}

.hero-search input::placeholder {
    color: #999;
}

.location-btn {
    background: transparent;
    border: none;
    color: var(--clr-navy);
    font-size: 1.2rem;
    padding: 10px 15px;
    cursor: pointer;
}

.submit-search-btn {
    background: var(--clr-navy);
    color: var(--clr-white);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
}

.submit-search-btn:hover {
    background: #151e1c;
    transform: scale(1.05);
}

/* =========================================
   Main Content Area (White rounded overlapping part)
========================================= */
.main-content {
    position: relative;
    background: var(--clr-page-bg);
    border-radius: 40px 40px 0 0;
    margin-top: -60px; /* Pulls it up over the hero */
    z-index: 10;
    padding: 100px 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================
   Regions / Projects Section
========================================= */
.regions-section {
    padding: 100px 0;
}

.section-title {
    font-size: 3.5rem;
    color: var(--clr-navy);
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    display: block;
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
}

.card-img-wrap {
    position: relative;
    height: 500px; /* Tall engaging format */
    border-radius: var(--radius-card);
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--clr-black);
    color: var(--clr-white);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-info {
    padding: 24px 10px 10px;
}

.card-info h3 {
    font-size: 1.5rem;
    color: var(--clr-navy);
    margin-bottom: 4px;
}

.card-info p {
    font-weight: 600;
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* =========================================
   Bold Statement Section
========================================= */
.statement-section {
    padding: 150px 0;
}

.statement-container {
    max-width: 1000px;
    text-align: center;
}

.statement-container h2 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--clr-navy);
    margin-bottom: 30px;
}

.statement-container p {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--clr-text-light);
    line-height: 1.6;
    margin-bottom: 50px;
}

/* =========================================
   Partners / Ecosystem Section
========================================= */
.ecosystem-section {
    padding: 100px 0;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.eco-card {
    display: block;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.eco-img {
    position: relative;
    height: 400px;
}

.eco-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.eco-card:hover .eco-img img {
    transform: scale(1.05);
}

.eco-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--clr-white);
}

.eco-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.eco-overlay p {
    font-weight: 500;
    opacity: 0.8;
    color: var(--clr-white);
    margin: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.eco-card:hover .eco-overlay h3 {
    transform: translateY(-5px);
}

.eco-card:hover .eco-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================
   Spotlight Section (SVN)
========================================= */
.spotlight-section {
    background: var(--clr-white);
    margin: 100px 0;
    overflow: hidden;
}

.spotlight-split {
    display: flex;
    align-items: center;
}

.spotlight-content {
    flex: 1;
    padding: 100px 80px;
}

.spotlight-tag {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--clr-text-light);
    margin-bottom: 20px;
}

.spotlight-title {
    font-size: 5.5rem;
    color: var(--clr-black);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
}

.spotlight-developer {
    font-size: 1.8rem;
    color: var(--clr-navy);
    margin-bottom: 30px;
    font-weight: 600;
}

.spotlight-desc {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--clr-text-light);
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
}

.spotlight-visual {
    flex: 1;
    height: 800px;
    overflow: hidden;
}

.spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.spotlight-split:hover .spotlight-visual img {
    transform: scale(1.05);
}

/* =========================================
   By The Numbers Section
========================================= */
.numbers-section {
    background-color: var(--clr-black); /* High contrast dark background */
    color: var(--clr-white);
    padding: 120px 0;
    margin: 100px 0 0;
}

.numbers-container {
    max-width: 1200px;
}

.numbers-heading {
    color: var(--clr-white);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.num-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.num-value {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--clr-white);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.num-label {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-white);
    opacity: 0.7;
}

/* =========================================
   Footer
========================================= */
.footer {
    background: var(--clr-navy); /* Deep blue dark footer */
    color: var(--clr-white);
    padding: 100px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 3rem;
    color: var(--clr-white);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.footer-social a:hover {
    background: var(--clr-white);
    color: var(--clr-navy);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.link-column h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.link-column a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.link-column a:hover {
    color: var(--clr-white);
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-bottom a {
    text-decoration: underline;
}

/* =========================================
   Responsive Adjustments
========================================= */
@media (max-width: 1200px) {
    .hero-title { font-size: 5rem; }
    .nav-center { display: none; }
    
    .spotlight-content { padding: 60px 40px; }
    .spotlight-title { font-size: 4rem; }
    .spotlight-visual { height: 600px; }
}

@media (max-width: 900px) {
    .navbar {
        padding: 18px 20px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .btn-white {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .menu-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .hero {
        min-height: 92svh;
        height: auto;
        padding: 110px 20px 56px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title { font-size: 3.5rem; }
    .projects-grid, .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
    .statement-container h2 { font-size: 3rem; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid { grid-template-columns: 1fr; gap: 60px; }
    .num-value { font-size: 4.5rem; }
    
    .spotlight-split { flex-direction: column; }
    .spotlight-content { padding: 56px 28px; }
    .spotlight-visual { width: 100%; height: 500px; }
}

@media (max-width: 600px) {
    .page-wrapper {
        border-radius: 28px 28px 0 0;
    }

    .navbar {
        padding: 16px 16px 0;
        align-items: flex-start;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-right .btn-white {
        display: none;
    }

    .menu-btn {
        padding: 10px 14px;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
    }

    .hero {
        padding: 112px 16px 44px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(3.1rem, 16vw, 4.35rem);
        line-height: 0.94;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 28px;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 24px;
        padding: 14px;
        gap: 12px;
    }

    .hero-search input {
        width: 100%;
        text-align: left;
        padding: 16px 12px 8px;
        font-size: 1rem;
    }

    .submit-search-btn {
        width: 100%;
        height: 54px;
        border-radius: 18px;
        margin-top: 0;
        margin-left: 0;
    }

    .location-btn { display: none; }

    .container {
        padding: 0 20px;
    }

    .main-content {
        margin-top: -28px;
        border-radius: 28px 28px 0 0;
        padding: 72px 0;
    }

    .section-title,
    .numbers-heading {
        font-size: 2.35rem;
        margin-bottom: 32px;
    }

    .projects-grid, .ecosystem-grid { grid-template-columns: 1fr; }

    .eco-img,
    .card-img-wrap {
        height: 340px;
    }

    .eco-overlay {
        padding: 22px;
    }

    .spotlight-content {
        padding: 40px 20px;
    }

    .spotlight-title {
        font-size: 3.2rem;
    }

    .spotlight-developer {
        font-size: 1.35rem;
    }

    .spotlight-desc {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .spotlight-visual {
        height: 340px;
    }

    .statement-section,
    .ecosystem-section,
    .regions-section,
    .numbers-section {
        padding: 72px 0;
        margin: 0;
    }

    .statement-container h2 {
        font-size: 2.4rem;
    }

    .statement-container p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .footer {
        padding: 72px 0 32px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-bottom: 40px;
        padding-bottom: 28px;
    }

    .footer-logo {
        font-size: 2.35rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-bottom: 48px;
    }

    .num-value { font-size: 3.5rem; }
}

@media (max-width: 400px) {
    .logo {
        font-size: 1.15rem;
    }

    .menu-btn {
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }
}
