* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

.zw-template-inner {
    width: 100%
}

.main-header,.content-container,.zw-product-header {
    background: #f9edd7
}

.content-container .content-wrap {
    padding-bottom: 100px
}

.form-description-wrap {
    display: flex;
    gap: 20px
}

.error-message {
    color: red;
    font-size: 12px;
    padding-left: 17px;
}

.error-message[role="alert"] {
    padding-top:5px
}

#form-error-message {
    font-size: 14px;
    padding: 15px 0 0 15px
}

.main-header {
    text-align: center;
    padding-bottom: 20px;
    width: 100%
}

.main-header .highlight-text {
    color: #008452;
    font-family: Caveat;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 40px;
}

.heading-wrap {
    max-width: 90%;
    margin: auto
}

.brand-ai {
    position: relative
}

.brand-ai svg {
    position: absolute;
    top: 0;
    left: -20px;
    width: 34px;
    height: 23px
}

h1 {
    color: #000;
    font-size: 82px;
    font-style: normal;
    font-weight: 700;
    line-height: 82px;
    letter-spacing: -2px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0
}

h2 span,h1 span {
    color: #089949
}

.subheading {
    font-size: clamp(14px,2vw,16px);
    line-height: 1.4;
    color: #333;
    margin-top: 0
}

.form-section,.results-section {
    background: #fff;
    border-radius: 20px;
    border: .8px solid #003f3c
}

.form-section {
    max-width: 400px;
    height: 450px;
    width: 100%;
    padding: 30px
}

.results-section {
    width: 100%;
    padding: 20px
}

.results-section h2 span svg {
    width: 20px
}

.app-alert-container {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    transition: top .5s ease,opacity .5s ease
}

.app-alert-container.active {
    top: 20px;
    opacity: 1
}

#product-form {
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.form-group {
    position: relative;
    width: 100%;
    margin-bottom: 22px
}

.form-group:last-child {
    margin-bottom: auto
}

.form-group input,.form-group select {
    width: 100%;
    font-family: var(--zf-primary-regular);
    max-width: 100%;
    padding: 12px 17px;
    border-radius: 50px;
    color: #000;
    border: 1px solid #dbdbdb;
    font-size: 14px;
    background-color: transparent;
    outline: 0;
    transition: all .3s ease-in-out
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset
}

.form-group input,.form-group select {
    height: 52px
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-family: var(--zf-primary-regular);
    color: #716f6f;
    pointer-events: none;
    transition: all .2s ease;
    background: #fff;
    padding: 0 5px
}

.form-group input:focus,.form-group input:hover,.form-group select:focus,.form-group select:hover {
    border-color: #000
}

.form-group input:focus+label,.form-group input:not(:placeholder-shown)+label,.form-group select:focus+label,.form-group select:not(:placeholder-shown)+label {
    top: 0;
    left: 12px;
    font-size: 10px;
    color: #000
}

input::placeholder {
    color: transparent
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem;
    position: relative;
    border: 1px solid #ccc;
    background: #fff
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 145px
}

.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.6rem;
    width: 8px;
    height: 8px;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    transform: translateY(-50%) rotate(135deg);
    pointer-events: none
}

.submit-button {
    max-width: 100%;
    width: 100%;
    background: #01ee65;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #000;
    transition: background .2s ease,transform .2s ease
}

.sparkle-svg path {
    transition: all .3s ease-in-out;
    fill: #ffd700
}

.sparkle-svg:hover path,.sparkle-svg.glowing-effect path {
    fill: #ffea00;
    filter: drop-shadow(0 0 5px #ffd700) drop-shadow(0 0 10px #ffea00) drop-shadow(0 0 15px #fff);
    animation: svg-glow 1.5s infinite alternate
}

@keyframes svg-glow {
    0% {
        filter: drop-shadow(0 0 5px #ffd700) drop-shadow(0 0 10px #ffea00)
    }

    100% {
        filter: drop-shadow(0 0 10px #ffea00) drop-shadow(0 0 20px #ffea00) drop-shadow(0 0 30px #fff)
    }
}

.results-section h2 {
    margin-top: 0;
    font-size: 16px;
    font-weight: bold
}

.results-wrap {
    background: #f9f9f9;
    border-radius: 20px
}

.suggestion-wrap {
    min-height: 250px;
    height: 250px;
    overflow: scroll;
    -webkit-mask-image: linear-gradient(to bottom,black 80%,transparent 100%);
    mask-image: linear-gradient(to bottom,black 80%,transparent 100%);
    padding-bottom: 20px
}

.suggestion-box {
    color: #706f6f;
    padding: 30px;
    max-width: 92%;
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    white-space: pre-wrap
}

.suggestion-box[generated] {
    color: #000
}

@keyframes pulse-scale {
    0% {
        transform: scale(1);
        opacity: .6
    }

    50% {
        transform: scale(1.2);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: .6
    }
}

.suggestion-box .generating-svg {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 20px;
    animation: pulse-scale .8s ease-in-out infinite;
    margin-left: 5px;
    transition: transform .2s ease,opacity .2s ease
}

.submit-button:hover .generating-svg {
    display: inline-block;
    vertical-align: middle;
    animation: pulse-scale .8s ease-in-out infinite;
    transition: transform .2s ease,opacity .2s ease
}

.btn-group {
    position: relative;
    padding: 50px 30px 30px 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap
}

.btn-group::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: rgba(184,179,171,0.6)
}

.btn-wrapper {
    position: relative;
    height: 44px;
    --offset: 1px;
    border-radius: 50px;
    max-width: 100%;
    background-color: #f9f9f9;
    border: 1px solid #d2cfca;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    width: max-content
}

.btn-group .btn-wrapper button {
    position: relative;
    background: transparent;
    font-size: 14px;
    z-index: 10;
    padding: 0;
    border-radius: 50px;
    width: max-content;
    cursor: pointer;
    border: 0;
    display: flex;
   color: #10311F;
    align-items: center
}

.btn-group .btn-wrapper button svg {
    width: 15px;
    height: 15px;
    margin-left: 8px;
}

.btn-group .btn-wrapper button.copied svg {
    width: 12px;
    height: 12px;
}

.disabled {
    opacity: .6;
    pointer-events: none;
   cursor: not-allowed;
}

[disabled] {
background: #05de61;
pointer-events: none;
cursor: not-allowed;
}

.copy-btn button {
    display: inline-flex;
    align-items: center;
    /* gap: 5px; */
    transition: all .3s ease
}

.reset-btn button {
    display: inline-flex;
    align-items: center;
    transition: transform .2s ease,color .2s ease
}

.reset-btn button.reset-feedback {
    transform: scale(1.1);
    color: #2c662d
}

.results-section:has([generated]) .btn-group .run-again-btn::before {
    content: '';
    background: conic-gradient(#d2cfca 270deg,#089949,#d2cfca);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    aspect-ratio: 1;
    width: 100%;
    animation: rotate 2s linear infinite;
    border-radius: inherit
}

.results-section:has([generated]) .btn-group .run-again-btn {
    border-color: transparent
}

.btn-group .run-again-btn::after {
    content: '';
    background: inherit;
    border-radius: inherit;
    position: absolute;
    inset: var(--offset);
    height: calc(100% - (2 * var(--offset)));
    width: calc(100% - (2 * var(--offset)))
}

@keyframes rotate {
    from {
        transform: translate(-50%,-50%) scale(1.4) rotate(0)
    }

    to {
        transform: translate(-50%,-50%) scale(1.4) rotate(1turn)
    }
}

.btn-group .run-again-btn:hover::before {
    animation-play-state: paused
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.section-container {
    padding: 100px 0 140px
}

.intro-header {
    text-align: center;
    margin-bottom: 4rem
}

.intro-title {
    color: #000;
    text-align: center;
    font-family: var(--zf-primary-bold);
    font-size: 52px;
    font-style: normal;
    font-weight: 600;
    line-height: 58px;
    letter-spacing: -1px;
    max-width: 70%;
    margin: auto;
    padding-bottom: 22px
}

.intro-highlight {
    color: #00a060
}

.intro-text {
    color: #000;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.7px;
    max-width: 70%;
    margin: auto;
    padding-bottom: 40px
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start
}

.importance-section {
    max-width: 520px
}

.importance-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-size: 32px;
    font-weight: 600;
    line-height: 42px;
    letter-spacing: -1.497px
}

.importance-list {
    list-style: disc;
    padding-left: 1rem;
    color: #000;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: -0.7px
}

.importance-item:not(:last-child) {
    margin-bottom: .75rem
}

.example-figure {
    margin: 0;
    text-align: center
}

.example-image {
    max-width: 100%;
    height: auto;
    border-radius: .75rem
}

.example-caption {
    margin-top: .5rem;
    font-size: .875rem;
    color: #555
}

.features-section {
    padding-bottom: 80px
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto
}

.features-section .header-content {
    text-align: center;
    margin-bottom: 60px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
    gap: 20px;
    justify-content: center
}

.feature-card {
    height: 310px;
    border: .5px solid #afafaf;
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background .3s ease,color .3s ease
}

.feature-card * {
    transition: color .3s ease
}

.feature-card:hover {
    background: #003f3c
}

.feature-card:hover * {
    color: #fff
}

.feature-card:hover svg path[fill="#003F3C"],.feature-card:hover svg path[fill="#004945"],.feature-card:hover svg path[fill="black"] {
    fill: #fff;
    transition: fill .3s ease
}

.feature-card:hover svg path[fill="white"] {
    fill: transparent
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px
}

.icon {
    width: 24px;
    height: 24px;
    color: #089949
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px
}

.card-description {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    margin: 0
}

.audience-section {
    padding-top: 40px;
    padding-bottom: 120px;
    background-color: #fff;
    font-family: Arial,sans-serif;
    text-align: center
}

.audience-heading {
    color: #000;
    text-align: center;
    font-size: 32px;
    line-height: 49px;
    letter-spacing: -1.497px
}

.card-list {
    display: flex;
    gap: 20px;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 20px 10px 10px 10px;
    -webkit-overflow-scrolling: touch
}

.audience-card {
    flex: 0 0 auto;
    width: 295px
}

.card-list::-webkit-scrollbar {
    height: 2px
}

.card-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px
}

.card-list::-webkit-scrollbar-track {
    background: transparent
}

.audience-card {
    width: 295px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding: 44px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: transform .2s ease,box-shadow .2s ease
}

.audience-card:nth-child(even) {
    background-color: #d0eadc
}

.audience-card:nth-child(odd) {
    background-color: #f9edd7
}

.audience-card:hover {
    transform: translateY(-5px)
}

.card-icon {
    margin-bottom: auto
}

.card-title {
    font-size: 22px;
    line-height: 24px;
    max-width: 180px;
    height: 50px;
    font-weight: 600;
    color: #1a3026;
    margin: 0
}

.feature-card .card-title {
    height: auto;
    max-width: 100%;
    margin-bottom: 20px
}

.footer-section {
    margin-bottom: 100px;
}

.footer-section h4 {
    color: #000;
    text-align: center;
    font-family: var(--zf-primary-bold);
    font-size: 58.62px;
    font-style: normal;
    font-weight: 700;
    line-height: 71px;
    letter-spacing: -1px;
    max-width: 80%;
    margin: auto
}

.footer-section .submit-button {
    max-width: 280px;
    margin: 20px auto;
    font-weight: 600
}

@media(max-width: 1200px) {
    .intro-title,.intro-text {
        max-width:90%
    }
}

@media(max-width: 1024px) {
    .features-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 20px
    }

    .footer-section h4 {
        max-width: 90%
    }
}

@media(max-width: 992px) {
    h1 {
        font-size:56px;
        line-height: 64px
    }

    .section-container  {
        padding-bottom: 120px
    }

    .intro-title,.footer-section h4 {
        font-size: 40px;
        line-height: 48px
    }

    .content-container .content-wrap {
        flex-direction: column;
        justify-content: center
    }

    .form-section,.importance-section {
        margin: auto
    }

    .form-description-wrap,.btn-group {
        align-items: center
    }

    .suggestion-wrap {
        min-height: 400px
    }

    .suggestion-box {
        max-width: 100%
    }

    .results-section {
        opacity: 0;
        transition: opacity .2s ease;
        pointer-events: none;
        display: none;
        max-width: 400px;
        width: 100%;
        margin: auto;
        min-height: 528px
    }

    .results-section.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
        max-width: 480px
    }

    .form-section.hidden {
        display: none
    }
}

@media(max-width: 768px) {
    .main-header .highlight-text {
        font-size:26px
    }

    .intro-header {
        text-align: left;
        margin: 0
    }

    .container {
        flex-direction: column
    }

    .app-alert-container {
        width: 90%;
        left: 5%;
        transform: none
    }

    .content-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .content-layout>* {
        display: block
    }

    .content-layout>*:first-child {
        order: 2
    }

    .content-layout>*:last-child {
        order: 1
    }

    .example-figure {
        width: 80%;
        margin: auto
    }

    .feature-card {
        height: auto
    }

    .features-section .header-content {
        margin-bottom: 0
    }
}

@media(max-width: 480px) {
    h1 {
        font-size:36px;
        line-height: 40px
    }

    .subheading {
        width: 90%;
        margin:auto
    }


    .brand-ai svg {
        position: absolute;
        top: -5px;
        left: -15px;
        width: 20px;
        height: 20px
    }

    .suggestion-wrap {
        min-height: 300px
    }
    
    .suggestion-box {
        padding: 20px
    }

    .btn-group {
        flex-direction: column;
        justify-content: center
    }

    
    .btn-group .btn-wrapper button,.btn-wrapper {
        width: 100%;
        justify-content: center
    }

    .audience-heading {
        font-size: 26px
    }

    .audience-card {
        gap: 20px;
        width: 250px;
    }

    .intro-title,.footer-section h4,.importance-title {
        font-size: 32px;
        line-height: 36px
    }

    .importance-title {
        text-align: center
    }

    .importance-item {
        font-size: 16px;
        line-height: 24px
    }

    .footer-section h4,.heading-wrap,.intro-title {
        max-width: 100%
    }

    .features-section .header-content,.audience-section h3 {
        margin-bottom: 20px
    }

    .content-container .content-wrap,.features-section,.audience-section {
        padding-bottom: 60px
    }

    .audience-section {
        padding-top: 0
    }

    .section-container {
        padding: 60px 0
    }

    .intro-text {
        font-size: 16px;
        line-height: 24px
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .feature-card {
        padding: 30px;
        height: auto
    }
}

@media(max-width: 400px) {
    .main-header .highlight-text {
        font-size:28px;
        line-height: 30px
    }

    .intro-title {
        padding-bottom: 20px
    }
}

@media(max-width: 375px) {
    .main-header .highlight-text {
        font-size:24px;
        line-height: 36px
    }

    h1 {
        font-size: 34px;
        line-height: 38px
    }

    .intro-title,.footer-section h4,.importance-title {
        font-size: 30px;
        line-height: 34px
    }
}

@media(max-width: 320px) {
    h1 {
        font-size:30px;
        line-height: 34px
    }

    .intro-title,.footer-section h4,.importance-title {
        font-size: 26px;
        line-height: 32px
    }

    .footer-section .interactive-cta-btn-wrapper .interactive-cta-btn-content {
        font-size: 14px
    }
}
