/* CSS Variables */
:root {
    --color-primary: #157c40;
    /* Heroicons blue */
    --color-text: #1f2937;
    --color-muted: #454545;
    --font-sans: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #fff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}


/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0 4rem;
}

/* Hero Section */
.hero {
    position: relative;
    background-position-y: -200px;
    background-repeat: repeat-y;
    padding: 1rem;
    background-image:linear-gradient(90deg, #2563eb3b, #d3b52217);
    box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.05);
}
   

.hero-content {
    padding: 2rem 2rem 2rem 4rem;
    max-width: 864px;
    width: 100%;
    border-radius: 10px;
}
.hero svg {
    display:none;
}
.hero-human-bg {
    position: absolute; 
    min-height: 100%; min-width: 100%; 
    opacity: 0.15; 
    z-index: -1; 
    background-image: url('/hero-bg-image.jpg'); 
    background-size: cover; 
    background-position: 74%; 
    background-repeat: no-repeat; 
    top: 0; 
    display: block; 
    left: 0;
}
@media screen and (max-width: 1165px) {
    .hero svg {
        display:none;
    }
}
@media screen and (max-width: 939px) {
    .hero-form  {
        flex-direction: column;
    }
    .hero-form .btn {
        place-self: flex-start;
    }
  }

@media screen and (max-width: 636px) {
}
.hero svg, .hero .svg {
    position: absolute;
    right: 10%;
    top: 0;
    width: 20%;
}
.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px #2563eb80;
}

@media screen and (max-width: 400px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}
@media screen and (max-width: 488px) {
    .hero-content {
        padding: 2rem 2rem 2rem 2rem;
    }
}

.hero p {
    font-size: 1rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-form {
    display: inline-flex;
    gap: 0.5rem;
    width:100%;
}
.hero-form .btn {
    flex-shrink: 0;
    box-shadow: 2px 3px 2px #00000017;
}
#image-preview-fullpage {
    max-width: 100%;
    height: auto;
    max-height: 365px;
}
.hero-content label {
    color: var(--color-muted);
}

.url-input {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 2px solid var(--color-muted);
    border-radius: 0.375rem;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 2px 3px 2px #00000017;
}

.url-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: white;
    cursor: pointer;
}

.btn:hover {
    background-color: #149249;
    border: 2px solid #179a4d;
}

.btn-secondary {
    border-color: transparent;
    color: var(--color-muted);
}

.btn-secondary:hover {
    color: var(--color-text);
}

/* Sections */
section {
    margin: auto;
    max-width: 80%;
    padding: 3rem 0;
}

section h2 {
    color: var(--color-text);
}
section.benefits h2 {
    text-align:center;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
}

.benefit-item svg {
    width: 8rem;
    height: 8rem;
    color: var(--color-primary);
}

.benefit-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--color-muted);
    font-size: 0.875rem;
}


#audit-container .card {
    margin-top: 1rem;
}

.fiverr-banner-640, .fiverr-banner-639{
    text-align: center;
}
@media screen and (max-width: 804px) {
    .fiverr-banner-640{
        display:none;
    }
}
@media screen and (min-width: 804px) {
    .fiverr-banner-639{
        display:none;
        text-align: center;;
    }
}

@media screen and (max-width: 720px) {
    .audit-summary-results {
        flex-direction: column;
    }
    #audit-image-result{
        flex-direction: column-reverse;
    }
    #audit-image-container {
        flex-direction: column;
    }
}
.audit-summary-results,
#audit-image-result {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    justify-content: left;

}
#summary-text {
    flex-basis: fit-content;
}
#audit-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#audit-container h2, #audit-container h3 {
    margin: 2px 0;
}
#view-report-link, #audit-container a {
    color: rgb(9, 0, 255);
    text-decoration: underline;
}
#view-report-link:hover, #audit-container a:hover {
    color: rgb(62, 120, 255);
}

#view-report-link:visited, #audit-container a:visited {
    color: purple;
}

.prepare section {
    padding-top: 0;
}

#checkout-form {
    text-align: right;
}

.card {
    box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    padding: 0 2rem 1rem 2rem;
    border-radius: 10px;
}
#explanation-text-container{
    padding: 0 2rem 1rem 2rem;
}
#label-for-image {
    color: var(--color-muted);
    font-size:10pt;
}
#audit-container .card {
    box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.05);
    border-radius:5px;
    padding: 1rem 1rem 1rem 1rem;
    margin-bottom: 1rem;
}

#compliance-information .benefit-item p {
    text-align: left;
}

.stepnumber {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    color: var(--color-muted);
    font-size: 0.875rem;
}

footer a {
    color: var(--color-muted);
    margin: 0 0.5rem;
}

footer a:hover {
    color: var(--color-text);
}

/* spinner styles */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #2563eb;
    /* your primary color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* hidden helper */
[aria-hidden="true"], #audit-image-container[aria-hidden="true"] {
    display: none;
}
.category-header{
    font-size:16pt;
}
.audit-text, #recommendation, #aff-text {
    margin-left: 10px;
}
.metric-container{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.circular-chart {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

.circle-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke: #2563eb;
    transform: rotate(-90deg);
    transform-origin: center;
    /* start “empty” */
    stroke-dasharray: 0, 100;
    /* prepare for animation */
    transition: stroke-dasharray 1s ease-in-out;
}
.circle.yellow {
    stroke: #ebc325;
}
.circle.red {
    stroke: #eb2525;
}


.percentage {
    font-size: 0.5em;
    text-anchor: middle;
    fill: #1f2937;
}