/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
}
/* Header Styles */
.site-header {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
}

.header-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    max-width: 100%;
    object-fit: contain;
}

.header-logo:hover {
    transform: scale(1.05);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Desktop/Mobile visibility classes for larger screens */
@media (min-width: 769px) {
    .desktop-only {
        display: flex;
    }
    
    .mobile-only {
        display: none;
    }
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button.primary {
    background-color: #dc2626;
    color: white;
}

.cta-button.primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hero {
    --parallax-offset: 0px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    transform: translateY(var(--parallax-offset));
    will-change: transform;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.hero-text {
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #888;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
}

.logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.logo {
    font-weight: 600;
    color: #dc2626;
}

.logo-img {
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logos white */
}

/* Specific height adjustments for different logos */
.logo-img.photofeeler {
    height: 28px;
}

.logo-img.entrepreneur {
    height: 28px;
}

.logo-img.morning-brew {
    height: 30px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 25px;
        margin: 5px;
    }
    
    .logo-img.photofeeler {
        height: 24px;
    }
    
    .logo-img.entrepreneur {
        height: 24px;
    }
    
    .logo-img.morning-brew {
        height: 25px;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logos {
        width: 100%;
        justify-content: space-around;
        gap: 0.75rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-photo {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

/* Problem/Solution Section */
.problem-solution {
    padding: 100px 0;
    background-color: #111111;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.before-photo, .after-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.before-photo {
    filter: grayscale(50%) brightness(0.7);
    border: 2px solid #dc2626;
}

.after-photo {
    border: 2px solid #16a34a;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #0a0a0a;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.cta-center {
    text-align: center;
}

/* Case Studies Section */
.case-studies {
    padding: 100px 0;
    background-color: #111111;
}

.case-study-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.case-study {
    display: none;
    text-align: center;
}

.case-study.active {
    display: block;
}

.before-after {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.before, .after {
    position: relative;
}

.before img, .after img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.before img {
    filter: grayscale(50%) brightness(0.7);
}

/* Three-step progression layout */
.three-step-progression {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step-photo {
    position: relative;
    flex-shrink: 0;
}

.step-photo img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}

.step-photo:first-child img {
    filter: grayscale(50%) brightness(0.7);
}

.arrow {
    color: #dc2626;
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.arrow i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial {
    max-width: 600px;
    margin: 0 auto;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    color: #888;
    font-size: 1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #b91c1c;
    transform: scale(1.1);
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .final-cta {
        padding: 60px 0;
    }
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.cta-text h2 {
    text-align: left;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.cta-text p {
    font-size: 1.2rem;
    color: #cccccc;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

@media (max-width: 480px) {
    .cta-text p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

.contact-form {
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background-color: #2a2a2a;
    border: 2px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
}

.form-group input::placeholder {
    color: #888;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.phone-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.no-obligation {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .header-logo {
        height: 45px;
        width: auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Add top margin to h1 on mobile */
    .hero-text h1 {
        margin-top: 2rem;
    }
    
    /* Desktop/Mobile visibility classes */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .hero-photo {
        width: 300px;
        height: 400px;
        max-width: 100%;
    }

    .comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .before-after {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .before img, .after img {
        width: 200px;
        height: 280px;
    }

    /* Fix for three-step-progression on tablets */
    .three-step-progression {
        flex-direction: column;
        gap: 1rem;
    }

    .step-photo {
        width: 100%;
        max-width: 220px;
    }

    .step-photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .cta-text h2 {
        text-align: center;
        font-size: 1.7rem;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 80vh;
        width: 100%;
        overflow-x: hidden;
    }
    
    .site-header,
    .hero-content,
    .hero-text,
    .hero-image {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header-logo {
        height: 40px;
    }

    .hero-photo {
        width: 250px;
        height: 350px;
        max-width: 90%;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    /* Additional fixes for three-step-progression on mobile */
    .three-step-progression {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .step-photo {
        width: 100%;
        max-width: 180px;
    }

    .step-photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 0.25rem 0;
    }

    .contact-form {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix for phone-cta on mobile - put phone number and text on separate lines */
    .phone-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
    }
    
    .phone-cta span:last-child {
        margin-top: 0.25rem;
    }
    
    /* Fix for phone input field on mobile */
    .hs-form .hs-fieldtype-phonenumber .input {
        display: flex;
        flex-direction: column;
    }
    
    .hs-form .hs-fieldtype-phonenumber .hs-input {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hs-form .hs-fieldtype-phonenumber .hs-input .hs-phonenumber-extension {
        width: 100% !important;
        margin-top: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix for country code dropdown */
    .hs-form .hs-fieldtype-phonenumber select.hs-input {
        width: 100% !important;
        margin-bottom: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all form inputs are properly contained */
    .hs-form-field input,
    .hs-form-field select,
    .hs-form-field textarea,
    .hs-form-field button {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* HubSpot form styling overrides */
.hs-form-field {
    margin-bottom: 20px;
}

.hs-form-field > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.hs-form-field input,
.hs-form-field select,
.hs-form-field textarea {
    width: 100%;
    padding: 15px;
    background-color: #2a2a2a;
    border: 2px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.hs-form-field input:focus,
.hs-form-field select:focus,
.hs-form-field textarea:focus {
    outline: none;
    border-color: #dc2626;
}

/* Phone field specific styling */
.hs-fieldtype-phonenumber .input {
    display: flex;
    gap: 10px;
}

/* Fix for HubSpot form container */
.hs-form-html {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hs-form {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hs-form-field {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hs-fieldtype-phonenumber .input {
        flex-wrap: wrap;
    }
    
    .hs-form-field {
        width: 100%;
        max-width: 100%;
    }
}