/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
}

/* Header Styles */
.site-header {
    width: 100%;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
}

.header-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 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;
}

.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;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.social-proof {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 3rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #888;
    flex-direction: column;
    flex-wrap: nowrap;
}

.logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.logo {
    font-weight: 600;
    color: #dc2626;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 0.15rem 0.4rem;
    border: 1px solid #dc2626;
    border-radius: 4px;
    white-space: nowrap;
}

.logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
    max-width: 100%;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-img.morning-brew {
    height: 28px;
}

.logo-img.forbes {
    height: 36px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-photo {
    width: 350px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Problem/Solution Section */
.problem-solution {
    padding: 120px 0;
    background-color: #111111;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
    align-items: center;
}

.problem-content {
    display: flex;
    flex-direction: column;
}

.problem-icon {
    width: 60px;
    height: 60px;
    background-color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: white;
}

.mistake-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.mistake-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #cccccc;
}

.mistake-list li i {
    color: #dc2626;
    font-size: 1rem;
}

.problem-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-image .after-photo {
    width: 350px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #16a34a;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}

.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%);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.2rem;
    color: #cccccc;
}

.contact-form {
    background-color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.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: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.phone-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
    width: 100%;
}

.no-obligation {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

/* Form Status Message */
.form-status {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Responsive header */
    .header-logo {
        height: 50px;
    }
    
    /* Center logo on mobile/tablet */
    .logo-container {
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem;
        margin-top: 2rem;
        max-width: 100%;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-text .social-proof {
        margin-top: 3rem;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-text .social-proof .logos {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1rem;
        width: 100%;
    }
    
    .logo-img {
        height: 32px;
        margin: 0.5rem 0;
    }
    
    .logo-img.forbes {
        height: 40px;
    }
    
    .logo {
        font-size: 1rem;
        padding: 0.15rem 0.4rem;
    }
    
    .hero-image {
        order: 1;
    }
    
    .problem-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-photo {
        width: 300px;
        height: 400px;
    }

    .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 mobile */
    .three-step-progression {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .step-photo {
        width: 100%;
        max-width: 220px;
    }
    
    .step-photo img {
        width: 100%;
        height: auto;
        max-height: 280px;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-text h2 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Smaller logo for mobile */
    .header-logo {
        height: 40px;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-photo {
        width: 250px;
        height: 350px;
        max-width: 90%;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Logo adjustments for small screens */
    .hero-text .social-proof .logos {
        gap: 1.2rem;
    }
    
    .logo-img {
        height: 28px;
        margin: 0.75rem 0;
    }
    
    .logo-img.forbes {
        height: 36px;
    }
    
    .logo {
        font-size: 0.8rem;
        padding: 0.1rem 0.25rem;
        letter-spacing: 0;
    }
    
    /* Further refinements for very small screens */
    .step-photo {
        max-width: 180px;
    }
    
    .step-photo img {
        max-height: 240px;
    }
    
    .case-study-slider {
        max-width: 90%;
    }
    
    .testimonial p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
    
    /* Improved phone CTA for small screens */
    .phone-cta {
        line-height: 1.4;
    }
    
    .phone-cta i {
        margin-bottom: 0.25rem;
        font-size: 1.2rem;
    }
    
    .phone-cta span {
        display: block;
        text-align: center;
        font-size: 1rem;
        padding: 0 10px;
        word-wrap: break-word;
        max-width: 100%;
        line-height: 1.5;
    }
    
    .contact-info {
        margin-top: 1rem;
    }
}