/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.5;
    color: #ffffff;
    background-color: #000000;
    /* Global subtle gradient to break the "flat black" look */
    background-image: radial-gradient(circle at 50% 0%, #1a1a00 0%, #000000 60%);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-weight: 300;
}

/* FORCE NO BOLD ANYWHERE */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
.bold {
    font-weight: 400 !important;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: #9CA3AF;
    font-weight: 300;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* VARIABLES */
:root {
    --junto-yellow: #FFC800;
    --bg-black: #000000;
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-white: #ffffff;
    --text-grey: #9CA3AF;
}

/* UTILITIES */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Background Gradients & Glows */
.glow-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
}

.glow-top-right {
    top: -300px;
    right: -300px;
}

.glow-bottom-left {
    bottom: -300px;
    left: -300px;
}

/* Background Colors & Text Contrast */
.bg-yellow {
    background-color: var(--junto-yellow);
    color: #000000;
}

.bg-yellow h1,
.bg-yellow h2,
.bg-yellow h3,
.bg-yellow h4,
.bg-yellow h5,
.bg-yellow h6 {
    color: #000000;
}

.bg-yellow p,
.bg-yellow li {
    color: #1a1a1a;
}

.bg-yellow .problem-list li::before {
    color: #cc0000;
    /* Darker red for better contrast on yellow */
}

.bg-white {
    background-color: #ffffff;
    color: #000000;
}

.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5,
.bg-white h6 {
    color: #000000;
}

.bg-white p,
.bg-white li {
    color: #374151;
    /* Dark grey for readability */
}

.bg-white .check-list li::before {
    color: #d9aa00;
    /* Darker yellow for visibility on white */
}

/* Adjust cards in light backgrounds to be white or light grey with shadow */
.bg-yellow .problem-impact,
.bg-yellow .target-card,
.bg-white .scope-card,
.bg-white .report-mockup,
.bg-white .case-study-box,
.bg-white .cta-box {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bg-yellow .problem-impact h3,
.bg-white .scope-card h3,
.bg-white .case-study-box h3 {
    color: #000000;
}

.bg-white .scope-card:hover {
    background-color: #f9fafb;
    border-color: var(--junto-yellow);
}

.bg-black {
    background-color: #000000;
    color: #ffffff;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }
}

/* BUTTONS */
.cta-button {
    font-family: 'Work Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--junto-yellow);
    color: #000000;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 1rem;
    text-align: center;
    border: 1px solid var(--junto-yellow);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

form .cta-button {
    font-size: 1.3rem;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.cta-button:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 200, 0, 0.2);
}

.cta-button.big {
    font-size: 1.125rem;
    padding: 20px 48px;
    min-width: 260px;
}

/* HEADER */
.site-header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

.site-header.scrolled {
    padding: 12px 0;
    background-color: rgba(0, 0, 0, 0.95);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    height: 32px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-right: 40px;
}

.nav-link {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 0.7;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--junto-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    color: var(--junto-yellow);
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px;
    /* Top padding for header */
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ensure image doesn't spill out */
}

.hero-bg-image {
    position: absolute;
    width: 900px;
    left: -10%;
    /* Position on the left */
    bottom: -15%;
    transform: translateY(25%);
    /* Push down to crop */
    z-index: 0;
    pointer-events: none;
}

.hero-bg-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1200px) {
    .hero-bg-image {
        width: 700px;
        left: -15%;
    }
}

@media (max-width: 768px) {
    .hero-bg-image {
        width: 100%;
        left: 0;
        transform: translateY(10%);
        opacity: 0.4;
        /* Fade it out on mobile to not interfere with text */
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        /* Allow auto height on mobile */
        padding: 140px 0 80px;
    }
}

.hero-bg-shape {
    /* Keep the gradient overlay on top of the image but below text */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 200, 0, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    /* Above image */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFFFFF 0%, #AAAAAA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: white;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-reassurance {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 1rem 0 3rem 0;
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.hero-reassurance span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-reassurance svg {
    color: var(--junto-yellow);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-reassurance {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* PROBLEM SECTION */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.problem-list li {
    margin-bottom: 1.25rem;
    padding-left: 28px;
    position: relative;
    font-size: 1.1rem;
    color: black;
    font-weight: bolder;
}

.problem-list li::before {
    content: "✕";
    color: #EF4444;
    position: absolute;
    left: 0;
    top: 0;
}

.problem-impact {
    background: linear-gradient(145deg, #111111 0%, #444444 100%);
    color: white !important;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.problem-impact h3 {
    margin-bottom: 32px;
    font-size: 1.35rem;
    color: white !important;
}

.impact-card {
    text-align: center;

    p {
        color: white !important;
    }
}

.impact-number {
    display: block;
    font-size: 3rem;
    font-weight: 400;
    color: #EF4444;
    line-height: 1;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* SCOPE SECTION */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.scope-card {
    background: var(--junto-yellow);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s ease;
    text-align: center;

    h3 {
        font-weight: bolder;
    }

    h3,
    p {
        color: black !important;
    }
}

.scope-card:hover {
    border-color: var(--junto-yellow);
    background: rgba(20, 20, 20, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 200, 0, 0.05);

    h3,
    p {
        color: white !important;
    }
}

.scope-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .scope-grid {
        grid-template-columns: 1fr;
    }
}

/* DELIVERABLES SECTION */
.deliverables-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.check-list li {
    margin-bottom: 1.25rem;
    padding-left: 32px;
    position: relative;
    font-weight: 400;
    font-size: 1.1rem;
    color: #000000;
}

.check-list li::before {
    content: "✓";
    color: var(--junto-yellow);
    position: absolute;
    left: 0;
    top: 0;
}

.report-mockup {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.report-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-header {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 24px;
    border-bottom: 1px solid #222;
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    color: black !important;
}

.score-badge {
    display: inline-block;
    margin-top: 24px;
    background-color: rgba(255, 200, 0, 0.1);
    color: var(--junto-yellow);
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 200, 0, 0.2);
}

@media (max-width: 768px) {
    .deliverables-content {
        grid-template-columns: 1fr;
    }
}

/* CASE STUDY SECTION */
.case-study-box {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    padding: 60px;
    border-radius: 24px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-study-box h3 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.case-comparison {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.case-before,
.case-after {
    flex: 1;
    padding: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.case-before h4 {
    color: #EF4444;
    margin-bottom: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-after h4 {
    color: #10B981;
    margin-bottom: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-before ul li,
.case-after ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #d1d5db;
    display: flex;
    justify-content: space-between;
}

.case-arrow {
    font-size: 1.5rem;
    color: #444;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .case-comparison {
        flex-direction: column;
    }

    .case-arrow {
        justify-content: center;
        transform: rotate(90deg);
        padding: 16px 0;
    }
}

/* TARGET SECTION */
.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.target-card {
    text-align: left;
    padding: 32px;
    background-color: rgba(20, 20, 20, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.target-card:hover {
    transform: translateY(-5px);
    background-color: rgba(20, 20, 20, 0.6);
}

.target-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* PROCESS SECTION */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 64px;
    height: 64px;
    background-color: transparent;
    color: var(--junto-yellow);
    font-size: 1.5rem;
    font-weight: 400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid var(--junto-yellow);
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.1);
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* CTA SECTION */
.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(255, 200, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    padding: 60px 20px;
    border-radius: 32px;
}

/* FAQ SECTION */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
    transition: background-color 0.3s ease;
    padding: 24px;
    border-radius: 8px;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #ffffff;
}

/* FOOTER - FIXED */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 0 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo svg {
    height: 24px;
    width: auto;
    margin-bottom: 24px;
}

.footer-desc {
    color: #888;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    /* No bold */
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #888;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* ANIMATION CLASSES */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* =========================================
   SHOPIFY FUNNEL PAGE SPECIFIC STYLES
   ========================================= */

/* SPLIT HERO SECTION */
.hero-split-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    /* Space for header and footer */
    position: relative;
    overflow: hidden;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* LEFT COLUMN */
.split-left {
    padding-right: 20px;
}

.logos-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.logo-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    font-size: 0.9rem;
}

.logo-badge svg {
    width: 24px;
    height: 24px;
}

.logo-connector {
    font-size: 1.5rem;
    color: var(--junto-yellow);
    font-weight: 300;
}

.check-list-hero {
    margin-top: 32px;
}

.check-list-hero li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-size: 1.05rem;
    color: #d1d5db;
}

.check-list-hero li::before {
    content: '✓';
    color: var(--junto-yellow);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* RIGHT COLUMN - FORM */
.form-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h3 {
    margin-bottom: 8px;
    font-size: 2.5rem;
    font-weight: bold
}

.form-header p {
    font-size: 1.1rem;
    color: var(--junto-yellow);
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--junto-yellow);
    background: rgba(0, 0, 0, 0.6);
}

.form-group input.input-error {
    border-color: #EF4444;
}

.error-message {
    color: #EF4444;
    font-size: 0.85rem;
    margin-top: 6px;
    display: none;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.form-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 20px;
    margin-bottom: 0;
}

/* SUCCESS MESSAGE */
.success-message {
    text-align: center;
    padding: 40px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--junto-yellow);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.success-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.small-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 16px;
}

/* STICKY FOOTER */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    text-align: center;
    z-index: 1000;
}

.sticky-footer p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #666;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-split-section {
        padding-top: 120px;
        min-height: auto;
    }

    .split-left {
        padding-right: 0;
        text-align: center;
    }

    .logos-wrapper {
        justify-content: center;
    }

    .check-list-hero {
        text-align: left;
        display: inline-block;
    }
}