/* ------------------- Global Styles ------------------- */
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #0d3a10;
    position: relative;
    overflow-x: hidden;
}

/* Background grid overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("./Asset/Grids%201.svg");
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    place-content: center;
}

/* ------------------- Navbar ------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    width: 80%;
    padding: 0 2rem;
    border: 1px solid #d3ddd6;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 12px;
    z-index: 10;
    flex-wrap: nowrap;
    overflow: hidden;
    animation: fade-down 0.5s 0.4s backwards;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.brand-logo {
    height: 3rem;
    object-fit: fill;
}

.small-logo {
    height: 4rem;
}

.muted {
    color: #0f0f0f;
    text-decoration: none;
    white-space: nowrap;
}
.muted-text{
    font-size: 0.75rem;
    margin-right: 0.3rem;
}


/* ------------------- Hero Section ------------------- */
.hero {
    max-width: 1200px;
    margin: 36px auto 0 auto;
    text-align: center;
    padding: 0 16px 56px 16px;
}

.cta {
    margin-top: 16px;
    animation: cta-fade-up 0.5s;
}
.cta-subtitle {
    margin-top: 5px;
}
.cta-headline {
    position: relative;
  text-align: center;
  padding: 2rem;
    text-wrap: balance;
}

/* help text wrap to a comfortable width on large screens */
.cta-subtitle {
    max-width: 920px;
    margin: 0 auto;
}

/* ------------------- Logo Card ------------------- */
.logo-card {
    display: inline-block;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 10rem;
    border-radius: 16px;
    background: #ffffff;
    position: relative;
    animation: logo-fade-up 0.5s 0.1s backwards;
}

/* Soft green glow behind logo card */
.logo-card::before {
    content: "";
    position: absolute;
    inset: -22px -26px -22px -26px;
    border-radius: 24px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(35, 178, 63, 0.25) 0%,
        rgba(35, 178, 63, 0) 70%
    );
    filter: blur(8px);
    z-index: -1;
}

.hero-logo {
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: -41px -32px 39px -22px #a8dd70;
}

.logo-highlight {
    position: absolute;
    left: -8%;
    top: -10%;
    width: 15%;
    opacity: 0.6;
    border-radius: 50%;
}

/* ------------------- Text Styling ------------------- */
.subtitle {
    padding: 24px 0 0;
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.5em;
    color: rgba(41, 41, 41, 0.8);
}

.headline {
  font-family: "Gabarito", Arial, sans-serif;
    font-size: 120px;
    font-weight: 700;
    line-height: 1.2em;
background: radial-gradient(
        50% 75% at 48.7% 50%,
        rgb(32, 146, 32) 0%,
        rgb(65, 161, 35) 43%,
        rgb(119, 202, 44) 71%,
        rgb(133, 214, 47) 80%
    );
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 12px rgba(35, 178, 63, 0.25);
    z-index: 3;
    position: relative;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
}

/* ------------------- Animations ------------------- */
/* .fade-down {
  opacity: 0;
  transform: scale(0.85);
  animation: fadeScaleUp 0.8s ease-out forwards;
} */

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes logo-fade-up {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes cta-fade-up {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeScaleUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.decor-highlight {
        position: relative;
        z-index: 1;
    }

.decor-highlight::before {
    content: '';
  position: absolute;
  background: url('Asset/Arrow 2 1.svg') no-repeat center center;
  background-size: contain;
  width: 117px;
  height: 106px;
  bottom: -5px;
  left: 233px;
  z-index: -1;
  opacity: 0.7; /* optional transparency */
}

@keyframes fadeArrowIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 0.3;
        transform: translateY(0);
    }
}

/* ------------------- Responsive Media Queries ------------------- */

/* Large screens */
@media (max-width: 1200px) {
    .headline {
        font-size: 64px;
    }
    .decor-highlight::before{
        height: 50px;
        left: -58px;
    }
    .muted {
        font-size: 0.9rem;
    }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
    .headline {
        font-size: 48px;
    }
    .decor-highlight::before {
        height: 40px;
    }
    .hero-logo {
        max-width: 19rem;
    }
    .navbar {
        gap: 8px;
        padding: 0.1rem 1.5rem;
    }
    .nav-left,
    .nav-right {
        justify-content: space-between;
    }
    .brand-logo {
        height: 36px;
    }
    .small-logo {
        object-fit: contain;
    }
    .muted {
        font-size: 0.8rem;
    }
    .cta-subtitle {
        max-width: 640px;
        padding: 0 8px;
    }
    .subtitle {
        font-size: 15px;
    }
    .logo-highlight {
        width: 18%;
        left: -6%;
        top: -6%;
    }
}

/* Small screens (phones) */
@media (max-width: 480px) {
    .headline {
        font-size: 36px;
        line-height: 1.2;
    }
    .navbar {
        height: 3.5rem;
        padding: 0.1rem 1.5rem;
        border-radius: 1rem;
    }
    .nav-right {
        gap: 0px;
    }
    .cta-subtitle {
        max-width: 420px;
        padding: 0 10px;
    }
    .decor-highlight::before {
        height: 30px;
        left: -56px;
    }
    .subtitle {
        font-size: 14px;
    }
    .brand-logo {
        height: 28px;
    }
    .small-logo {
        height: 2rem;
    }
    .muted-text{
        font-size: 0.5rem;
    }
    .cta-headline {
        padding: 0 12px;
    }
    
    .logo-highlight {
        width: 22%;
        left: -4%;
        top: -4%;
    }
}
