/* =========================================================
   Base Global Theme for site style
   ========================================================= */
@import url('variables.css');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 20px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
/* Changes box model to include padding and border in total width */
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* TEST FOR MOBILE/DESKTOP */
.mobileview{
    display: none;
}
.desktopview{
    display: none;
}


/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.narrow-container {
    width: min(calc(100% - 40px), var(--narrow-width));
    margin-inline: auto;
}

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--color-surface);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.hero-content h1,
.about-content h2,
.contact-copy h2 {
    margin-bottom: 18px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Little green text above sections. Get it "Eyebrow" */
.eyebrow {
    margin-bottom: 12px;
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    transition:
        transform var(--transition),
        filter var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.button-primary {
    color: var(--color-dark-text);
    background: var(--color-accent);
}

.button-primary:hover {
    color: var(--color-dark-text);
    filter: brightness(1.08);
}

.button-secondary {
    color: var(--color-link);
    border-color: var(--color-link);
    background: transparent;
}

.button-secondary:hover {
    background: rgba(129, 140, 248, 0.1);
}



/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 72px;
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    position: relative;
}



.logo {
    min-width: 100px;
    min-height: 30px;
    max-width: 400px;
    display: inline-flex;
    align-items: center;
    color: var(--color-text);
    font-family: var(--font-mono);
    font-weight: 800;
}



/* .logo:hover {
    color: var(--color-accent);
    text-decoration: none;
} */

.main-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    list-style-type: none;
} 



.main-nav a {
    min-height: 44px;
    color: var(--color-text);
    font-weight: bold;
    font-size: clamp(1rem, 0.875rem + 0.35vw, 1.25rem);
    white-space: nowrap;
}
.main-nav .nav-cta {
    padding: 10px 16px;
    color: var(--color-dark-text);
    background: var(--color-accent);
    border-radius: 8px;
    font-weight: 800;
}
.main-nav .nav-cta:hover {
    color: var(--color-dark-text);
    filter: brightness(1.08);
} 

.main-nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

 .nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1;
}

.nav-toggle:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
} 

.nav-toggle:focus-visible,
.main-nav a:focus-visible,
.button:focus-visible,
.carousel-button:focus-visible,
.carousel-dot:focus-visible {
    outline: 3px solid var(--color-link);
    outline-offset: 3px;
}

/* =========================================================
   AUDIENCE / CHECK LIST
   ========================================================= */
.check-list {
    display: grid;
    gap: 14px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface-light);
}
.check {
    color: var(--color-accent);
    font-weight: 900;
}

/* =========================================================
   SIGNATURE OFFER
   ========================================================= */

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.offer-card {
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-surface);
}

.card-number {
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-weight: 900;
}

.offer-card h3 {
    margin: 18px 0 10px;
}

.offer-card ul {
    padding-left: 20px;
    color: var(--color-muted);
}

.price-card {
    margin-top: 28px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius);
    background: var(--color-surface);
}
.pricenote{
    font-size: small;
    font-style: italic;
}

.price-card h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.price-card p {
    margin-bottom: 0;
}

.price {
    color: var(--color-accent);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}





/* =========================================================
   PROCESS / HOW IT WORKS
   ========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.process-step {
    padding: 24px;
    border-top: 2px solid var(--color-accent);
    background: var(--color-surface-light);
}

.process-step > h3 > span {
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-weight: 900;
}

.process-step h3 {
    margin: 16px 0 8px;
}

/* =========================================================
   EXAMPLE CAROUSEL
   ========================================================= */

.carousel {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-track {
    display: flex;
    transition: transform 350ms ease;
}

.example-card {
    flex: 0 0 100%;
    padding: 1px;
}

.example-image {
    display: block;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    background: var(--color-surface);
}

.example-image:hover {
    border-color: var(--color-link);
}

.example-image img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.example-content {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-top: 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    background: var(--color-surface);
}

.example-content h3 {
    margin-bottom: 8px;
}

.example-content p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.carousel-button {
    width: 60px;
    height: 60px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 1.35rem;
    line-height: 1;
}

.carousel-button:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-muted);
}

.carousel-dot.active {
    background: var(--color-accent);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    min-height: auto;
    border: 1px dashed var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-surface);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
    border-top: 1px solid var(--color-border);
}

.faq-list details {
    border-bottom: 1px solid var(--color-border);
}

.faq-list summary {
    padding: 22px 0;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--color-accent);
    font-size: 1.4rem;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 0 22px;
    color: var(--color-muted);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background: var(--color-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
}

.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    background: var(--color-background);
    color: var(--color-text);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 50px 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers child divs horizontally */
    justify-content: center;
    text-align: center;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
