.gosafe-home {
    --gs-green: #0a8f4f;
    --gs-green-dark: #066438;
    --gs-lime: #c7f353;
    --gs-ink: #091611;
    --gs-muted: #5b6d63;
    --gs-line: #dbe8df;
    --gs-soft: #f4fbf6;
    background: #ffffff;
    color: var(--gs-ink);
    font-family: "Inter", "SF Pro Text", "Segoe UI", sans-serif;
    overflow: hidden;
}

.gosafe-home img {
    max-width: 100%;
}

.gs-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    transition: all .22s ease;
    white-space: nowrap;
}

.gs-btn-primary {
    background: var(--gs-green);
    color: #fff;
    box-shadow: 0 18px 35px rgba(10, 143, 79, .22);
}

.gs-btn-primary:hover {
    background: var(--gs-green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.gs-btn-light {
    background: #fff;
    border: 1px solid rgba(9, 22, 17, .12);
    color: var(--gs-ink);
}

.gs-btn-light:hover {
    color: var(--gs-green-dark);
    transform: translateY(-2px);
}

.gs-section {
    padding: 92px 0;
}

.gs-section-soft {
    background: linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
}

.gs-eyebrow {
    align-items: center;
    color: var(--gs-green-dark);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    letter-spacing: .08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.gs-eyebrow::before {
    background: var(--gs-lime);
    border-radius: 999px;
    content: "";
    height: 10px;
    width: 10px;
}

.gs-title {
    color: var(--gs-ink);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: .98;
    margin-bottom: 18px;
}

.gs-section-title {
    color: var(--gs-ink);
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: 16px;
}

.gs-lead,
.gs-section-text {
    color: var(--gs-muted);
    font-size: 18px;
    line-height: 1.7;
}

.gs-hero {
    background: var(--gs-ink);
    min-height: 790px;
    position: relative;
}

.gs-hero::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
    bottom: -1px;
    content: "";
    height: 110px;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 4;
}

.gs-hero-slider,
.gs-hero-slider .carousel-inner,
.gs-hero-slider .carousel-item,
.gs-hero-panel {
    min-height: 790px;
}

.gs-hero-panel {
    align-items: center;
    display: flex;
    overflow: hidden;
    padding: 155px 0 116px;
    position: relative;
}

.gs-hero-panel > img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transform: scale(1.04);
    transition: transform 6s ease;
    width: 100%;
    z-index: 1;
}

.carousel-item.active .gs-hero-panel > img {
    transform: scale(1);
}

.gs-hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 26, 14, .96) 0%, rgba(2, 26, 14, .8) 42%, rgba(2, 26, 14, .25) 72%, rgba(2, 26, 14, .08) 100%),
        linear-gradient(180deg, rgba(2, 26, 14, .2) 0%, rgba(2, 26, 14, .72) 100%);
    inset: 0;
    position: absolute;
    z-index: 2;
}

.gs-hero-panel .container {
    position: relative;
    z-index: 3;
}

.gs-hero-content {
    color: #fff;
    max-width: 830px;
    position: relative;
    z-index: 2;
}

.gs-hero .gs-eyebrow,
.gs-hero .gs-title,
.gs-hero .gs-lead {
    color: #fff;
}

.gs-hero .gs-eyebrow::before {
    background: var(--gs-lime);
}

.gs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0;
}

.gs-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.gs-hero-tags span {
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    padding: 9px 14px;
}

.gs-hero-indicators {
    bottom: 42px;
    gap: 10px;
    margin: 0;
    right: auto;
    left: max(24px, calc((100vw - 1140px) / 2));
    z-index: 5;
}

.gs-hero-indicators [data-bs-target] {
    background: rgba(255,255,255,.45);
    border: 0;
    border-radius: 999px;
    height: 8px;
    opacity: 1;
    width: 32px;
}

.gs-hero-indicators .active {
    background: var(--gs-lime);
    width: 58px;
}

.gs-hero-control {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    bottom: 42px;
    height: 48px;
    opacity: 1;
    top: auto;
    width: 48px;
    z-index: 5;
}

.gs-hero-control.carousel-control-prev {
    left: auto;
    right: 92px;
}

.gs-hero-control.carousel-control-next {
    right: 28px;
}

.carousel-item.active .gs-hero-content {
    animation: gsHeroContent .75s ease both;
}

@keyframes gsHeroContent {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gs-hero-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 680px;
}

.gs-stat {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    padding: 18px;
}

.gs-stat strong {
    color: #fff;
    display: block;
    font-size: 26px;
    font-weight: 950;
}

.gs-stat span {
    color: rgba(255,255,255,.78);
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

.gs-carousel {
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(6, 100, 56, .14);
    overflow: hidden;
}

.gs-slide {
    background: var(--gs-ink);
    min-height: 560px;
    position: relative;
}

.gs-slide img {
    height: 560px;
    object-fit: cover;
    opacity: .76;
    width: 100%;
}

.gs-slide-content {
    bottom: 0;
    color: #fff;
    left: 0;
    max-width: 680px;
    padding: 44px;
    position: absolute;
    z-index: 2;
}

.gs-slide-content::before {
    background: linear-gradient(90deg, rgba(2, 20, 12, .86), rgba(2, 20, 12, 0));
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 75%;
    z-index: -1;
}

.gs-slide-kicker {
    color: var(--gs-lime);
    display: block;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gs-slide h3 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 14px;
}

.gs-slide p {
    color: rgba(255,255,255,.84);
    font-size: 18px;
    line-height: 1.65;
}

.gs-card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gs-service-card,
.gs-partner-card,
.gs-feature-card {
    background: #fff;
    border: 1px solid var(--gs-line);
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.gs-service-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.gs-card-body {
    padding: 22px;
}

.gs-card-body h3 {
    color: var(--gs-ink);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.gs-card-body p {
    color: var(--gs-muted);
    line-height: 1.65;
    margin: 0;
}

.gs-partner-band {
    background: #062819;
    color: #fff;
}

.gs-partner-band .gs-section-title,
.gs-partner-band .gs-section-text,
.gs-partner-band .gs-eyebrow {
    color: #fff;
}

.gs-partner-card {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    color: #fff;
    padding: 28px;
}

.gs-partner-card i {
    align-items: center;
    background: var(--gs-lime);
    border-radius: 999px;
    color: #12321f;
    display: inline-flex;
    font-size: 28px;
    height: 56px;
    justify-content: center;
    margin-bottom: 20px;
    width: 56px;
}

.gs-partner-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.gs-partner-card p {
    color: rgba(255,255,255,.78);
    line-height: 1.65;
}

.gs-feature-wrap {
    align-items: center;
    display: grid;
    gap: 44px;
    grid-template-columns: 1fr 1fr;
}

.gs-phone-panel {
    background: linear-gradient(135deg, #0b6f43, #042718);
    border-radius: 8px;
    padding: 24px;
}

.gs-phone-panel img {
    border-radius: 8px;
    box-shadow: 0 28px 60px rgba(0,0,0,.22);
    width: 100%;
}

.gs-feature-list {
    display: grid;
    gap: 16px;
}

.gs-feature-card {
    display: grid;
    gap: 14px;
    grid-template-columns: 48px 1fr;
    padding: 18px;
}

.gs-feature-card i {
    align-items: center;
    background: var(--gs-soft);
    border-radius: 8px;
    color: var(--gs-green);
    display: inline-flex;
    font-size: 24px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.gs-feature-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
}

.gs-feature-card p {
    color: var(--gs-muted);
    line-height: 1.55;
    margin: 0;
}

.gs-cta {
    background:
        linear-gradient(90deg, rgba(6, 40, 25, .95), rgba(6, 40, 25, .72)),
        url("../img/gosafe/together-movement.jpg") center/cover no-repeat;
    border-radius: 8px;
    color: #fff;
    padding: 56px;
}

.gs-cta h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 16px;
}

.gs-cta p {
    color: rgba(255,255,255,.8);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 720px;
}

@media (max-width: 1199px) {
    .gs-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .gs-hero {
        min-height: 720px;
    }

    .gs-hero-slider,
    .gs-hero-slider .carousel-inner,
    .gs-hero-slider .carousel-item,
    .gs-hero-panel {
        min-height: 720px;
    }

    .gs-hero-panel {
        padding-top: 130px;
    }

    .gs-feature-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .gs-section {
        padding: 66px 0;
    }

    .gs-card-grid,
    .gs-hero-stats {
        grid-template-columns: 1fr;
    }

    .gs-hero {
        min-height: 760px;
    }

    .gs-hero-slider,
    .gs-hero-slider .carousel-inner,
    .gs-hero-slider .carousel-item,
    .gs-hero-panel {
        min-height: 760px;
    }

    .gs-hero-panel {
        padding: 120px 0 108px;
    }

    .gs-hero-indicators {
        bottom: 28px;
        left: 24px;
    }

    .gs-hero-control {
        display: none;
    }

    .gs-slide,
    .gs-slide img {
        min-height: 600px;
    }

    .gs-slide-content {
        padding: 28px;
    }

    .gs-cta {
        padding: 34px 24px;
    }
}
