/**
 * Hero Section
 * Peas Digital Pro
 */

.pd-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 130px;
    background:
        radial-gradient(circle at 85% 15%, rgba(109,190,69,.28), transparent 34%),
        radial-gradient(circle at 15% 80%, rgba(163,217,119,.25), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.pd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(109,190,69,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109,190,69,.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    pointer-events: none;
}

.pd-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

.pd-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--pd-primary-dark);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.pd-tagline::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--pd-primary);
}

.pd-hero h1 {
    max-width: 780px;
    margin-bottom: 28px;
    font-size: clamp(2.7rem, 5vw, 5rem);
    letter-spacing: -0.05em;
}

.pd-hero p {
    max-width: 640px;
    margin-bottom: 42px;
    color: var(--pd-text);
    font-size: 1.22rem;
}

.pd-hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.pd-features {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.pd-features span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--pd-border);
    color: var(--pd-heading);
    font-size: .95rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(17,24,39,.05);
}

.pd-hero__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.pd-hero__image::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(109,190,69,.25), rgba(163,217,119,.08));
    filter: blur(10px);
}

.pd-hero__image img {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 34px;
    border-radius: 36px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: var(--pd-shadow-hover);
}

/* ==========================================
   TECHNOLOGY ECOSYSTEM
========================================== */

.pd-tech-ecosystem {
    position: relative;
    width: min(520px, 100%);
    aspect-ratio: 1;
}

.pd-tech-ecosystem::before,
.pd-tech-ecosystem::after {
    content: "";
    position: absolute;
    inset: 15%;
    border: 1px solid rgba(109,190,69,.22);
    border-radius: 50%;
}

.pd-tech-ecosystem::after {
    inset: 28%;
}

.pd-tech-node {
    position: absolute;
    display: grid;
    place-items: center;
    gap: .45rem;
    width: 116px;
    min-height: 108px;
    padding: 1rem;
    border: 1px solid rgba(109,190,69,.22);
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    box-shadow: var(--pd-shadow);
    color: var(--pd-primary-dark);
    text-align: center;
    font-weight: 800;
}

.pd-tech-node svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.pd-tech-node span {
    color: var(--pd-heading);
    font-size: .78rem;
}

.pd-tech-node--main {
    inset: 50% auto auto 50%;
    width: 150px;
    min-height: 140px;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff, #eefbe8);
}

.pd-tech-node--top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.pd-tech-node--left {
    top: 42%;
    left: 0;
    transform: translateY(-50%);
}

.pd-tech-node--right {
    top: 42%;
    right: 0;
    transform: translateY(-50%);
}

.pd-tech-node--bottom-left {
    left: 12%;
    bottom: 5%;
}

.pd-tech-node--bottom-right {
    right: 12%;
    bottom: 5%;
}
.pd-tech-node--backup {
    left: 50%;
    bottom: -4%;
    transform: translateX(-50%);
}
/* ==========================================
   TECHNOLOGY ECOSYSTEM V2
========================================== */

.pd-tech-ecosystem--v2 {
    position: relative;
    width: min(520px, 100%);
    aspect-ratio: 1;
}

.pd-tech-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pd-tech-lines path {
    fill: none;
    stroke: rgba(109,190,69,.35);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 8 10;
}

.pd-tech-home {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    min-height: 170px;
    display: grid;
    place-items: center;
    gap: .5rem;
    padding: 1.5rem;
    border-radius: 34px;
    background: linear-gradient(135deg, #ffffff, #eefbe8);
    border: 1px solid rgba(109,190,69,.25);
    box-shadow: var(--pd-shadow-hover);
    text-align: center;
    color: var(--pd-primary-dark);
}

.pd-tech-home svg {
    width: 44px;
    height: 44px;
    fill: currentColor;
}

.pd-tech-home strong {
    color: var(--pd-heading);
    font-size: 1rem;
}

.pd-tech-home span {
    color: var(--pd-text);
    font-size: .75rem;
    font-weight: 700;
}

.pd-tech-ecosystem--v2 .pd-tech-node {
    width: 118px;
    min-height: 108px;
}

.pd-tech-ecosystem--v2 .pd-tech-node--top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.pd-tech-ecosystem--v2 .pd-tech-node--left {
    top: 32%;
    left: 0;
}

.pd-tech-ecosystem--v2 .pd-tech-node--right {
    top: 32%;
    right: 0;
}

.pd-tech-ecosystem--v2 .pd-tech-node--bottom-left {
    left: 4%;
    bottom: 12%;
}

.pd-tech-ecosystem--v2 .pd-tech-node--bottom-right {
    right: 4%;
    bottom: 12%;
}

.pd-tech-ecosystem--v2 .pd-tech-node--backup {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}