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

/* Header and Logo */
.site-header {
    padding: var(--spacing-sm) var(--container-padding);
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-align: center;
}

.logo:hover {
    color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

:root {
    /* Color Palette - ClickFunnels style: High contrast */
    --color-primary: #6B8E6B;
    --color-primary-hover: #5A7A5A;
    --color-primary-light: #A8D5BA;
    --color-accent: #5B8FA8;
    --color-accent-light: #8FB3C7;
    --color-text: #000000;
    --color-text-light: #333333;
    --color-bg: #ffffff;
    --color-bg-section: #f8f9fa;
    --color-bg-tint: #f8f9fa;
    --color-border: #e5e5e5;
    --color-success: #6B8E6B;
    --color-error: #dc3545;
    
    /* Typography - ClickFunnels style: Bold sans-serif throughout */
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 18px;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
    
    /* Spacing - More generous, Acquisition.com style */
    --spacing-xs: 0.75rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 5rem;
    
    /* Container */
    --container-max-width: 900px;
    --container-padding: 2rem;
}

html {
    scroll-behavior: smooth;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography - ClickFunnels style: Ultra-bold sans-serif */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: var(--line-height-heading);
    color: #000000;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #000000;
}

h2 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
}

h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Buttons and Links - With color accents */
.btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--color-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* CTA Button - EXCLUSIVE STYLING - Appears NOWHERE else on page */
.btn-primary {
    background: linear-gradient(135deg, #5A9F5A 0%, #6B8E6B 50%, #5A7A5A 100%);
    color: white;
    border: none;
    padding: 1.75rem 5rem;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(107, 142, 107, 0.5), 0 0 0 0 rgba(107, 142, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: visible;
    animation: cta-pulse 3s ease-in-out infinite;
    font-family: var(--font-body);
    white-space: normal;
    line-height: 1.3;
    word-wrap: break-word;
}

@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(107, 142, 107, 0.5), 0 0 0 0 rgba(107, 142, 107, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(107, 142, 107, 0.6), 0 0 0 8px rgba(107, 142, 107, 0);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6B8E6B 0%, #5A9F5A 50%, #6B8E6B 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(107, 142, 107, 0.6), 0 0 0 0 rgba(107, 142, 107, 0.3);
    animation: none;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(107, 142, 107, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(107, 142, 107, 0.2);
}

.link-secondary {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid var(--color-primary);
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.link-secondary:hover {
    color: var(--color-primary-hover);
    border-bottom-color: var(--color-primary-hover);
    padding-bottom: 2px;
}

/* Hero Section - With subtle color accent */
.hero {
    padding: var(--spacing-lg) 0;
    padding-top: calc(var(--spacing-md) + 80px);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: #ffffff;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.hero .subheadline {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-text);
    line-height: 1.5;
    font-weight: 600;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.microcopy {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 1.7;
    font-weight: 400;
}

/* Problem Section - Acquisition.com style: Clean list */
.problem {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-section);
    position: relative;
}

.problem .container {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--color-border);
    max-width: 1000px;
    margin: 0 auto;
}

.problem h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: #000000;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
}

.problem-list {
    list-style: none;
    max-width: 100%;
    margin: 0;
}

.problem-list li {
    padding: var(--spacing-md) 0;
    padding-left: 3rem;
    position: relative;
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1.8;
    border-bottom: 2px solid var(--color-border);
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--color-bg-section);
    margin-bottom: var(--spacing-sm);
    border-radius: 8px;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.problem-list li:hover {
    padding-left: 3.25rem;
    color: var(--color-text);
}

.problem-list li:last-child {
    border-bottom: 2px solid var(--color-border);
}

.problem-list li::before {
    content: "✗";
    position: absolute;
    left: 1rem;
    color: var(--color-error);
    font-weight: 900;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* What I Do Section - Acquisition.com style: Left-aligned */
.what-i-do {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.what-i-do .container {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--color-primary);
    max-width: 1000px;
    position: relative;
}

.what-i-do h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: #000000;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
}

.intro-text {
    text-align: left;
    max-width: 100%;
    margin: 0 0 var(--spacing-lg) 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.help-list {
    list-style: none;
    max-width: 100%;
    margin: 0;
}

.help-list li {
    padding: var(--spacing-sm) 0;
    padding-left: 4rem;
    padding-right: var(--spacing-sm);
    position: relative;
    color: var(--color-text);
    font-size: 1.125rem;
    line-height: 1.8;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    background: var(--color-bg-section);
    margin-bottom: var(--spacing-xs);
    border-radius: 4px;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.help-list li:hover {
    padding-left: 4.25rem;
    color: var(--color-text);
}

.help-list li:last-child {
    border-bottom: none;
}

.help-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: white;
    background: var(--color-primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.help-list li:hover::before {
    transform: scale(1.2);
}

/* How It Works Section - Acquisition.com style: Clean numbered list */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background: #ffffff;
    position: relative;
}

.how-it-works .container {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--color-border);
    max-width: 1000px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: #000000;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
}

.steps-list {
    list-style: none;
    max-width: 100%;
    margin: 0;
    counter-reset: step-counter;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    counter-increment: step-counter;
    border-bottom: 1px solid var(--color-border);
}

.steps-list li:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(107, 142, 107, 0.3);
}

.steps-list li:hover .step-number {
    background-color: #222222;
    transform: scale(1.05);
}

.step-text {
    flex: 1;
    padding-top: 0.75rem;
    color: var(--color-text-light);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Contact Form Section (for contact.html page) */
.contact-form-section {
    padding: var(--spacing-xxl) 0;
    padding-top: calc(var(--spacing-xxl) + 80px);
    background-color: #ffffff;
    min-height: calc(100vh - 80px);
}

.contact-intro {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section h1 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: var(--spacing-xl) 0;
        padding-top: calc(var(--spacing-md) + 80px);
    }
    
    .contact-intro {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-md);
    }
}

/* Examples Section - Acquisition.com style: Clean grid */
.examples {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-section);
}

.examples h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: #000000;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
}

.example-card {
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.example-card:hover {
    border-color: var(--color-border);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.example-card:hover::before {
    transform: scaleX(1);
}

.example-image-placeholder {
    width: 100%;
    height: 240px;
    background: var(--color-bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--color-border);
}

.example-image-placeholder::after {
    content: "Image Placeholder";
    color: var(--color-text-light);
    font-size: 0.875rem;
    font-weight: 400;
}

.example-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.example-card:hover img {
    transform: scale(1.05);
}

.example-caption {
    padding: var(--spacing-md);
    text-align: left;
    color: var(--color-text);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.examples .link-secondary {
    display: inline-block;
    text-align: left;
    margin-top: var(--spacing-md);
}

/* CTA Section - With subtle color accent */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-section);
    text-align: center;
    position: relative;
}

.cta-section .container {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--color-border);
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    margin-bottom: var(--spacing-md);
}

.reassurance-text {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Review Form Modal - Popup Style */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

/* Show desktop modal on desktop, hide on mobile */
.modal-desktop {
    display: none;
}

.modal-desktop.active {
    display: flex;
}

@media (max-width: 768px) {
    .modal-desktop.active {
        display: none !important;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2001;
}

.modal-content {
    position: relative;
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-border);
    max-width: 700px;
    width: 100%;
    margin: auto;
    z-index: 2002;
    max-height: 90vh;
    overflow-y: auto;
}

/* Mobile-specific modal content */
.modal-content-mobile {
    position: relative;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    margin: 0;
    z-index: 2002;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-intro-mobile {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-bg-section);
    color: var(--color-text);
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: #000000;
    font-size: clamp(2rem, 5vw, 3rem);
    padding-right: 50px; /* Space for close button */
}

/* Review Form Section (hidden, kept for anchor compatibility) */
.review-form {
    display: none;
}

.form {
    max-width: 100%;
    margin: 0;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
    color: var(--color-text);
    font-size: 1rem;
}

.required {
    color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS - must be 16px or larger */
    font-family: var(--font-body);
    border: 1px solid var(--color-border);
    border-radius: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 142, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-weight: 400;
    font-size: 1rem;
}

.radio-label input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--color-primary);
    transition: transform 0.2s ease;
}

.radio-label:hover input[type="radio"] {
    transform: scale(1.1);
}

.form .btn-primary {
    width: auto;
    margin-top: var(--spacing-md);
    min-width: 300px;
}

/* Form Confirmation - Acquisition.com style: Clean */
.form-confirmation {
    max-width: 100%;
    margin: var(--spacing-lg) 0 0;
    padding: var(--spacing-lg);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0;
    text-align: left;
}

.form-confirmation h3 {
    color: var(--color-success);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.form-confirmation p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.form-confirmation .note {
    font-size: 1rem;
    font-style: normal;
    margin-top: var(--spacing-md);
    color: var(--color-text-light);
}

/* Footer - With subtle color accent */
/* Sticky Bottom CTA Bar - Shopify Style */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: var(--spacing-sm) var(--container-padding);
    display: none; /* Hidden by default, shown via JavaScript on scroll */
}

.sticky-cta-bar.show {
    display: block;
}

.sticky-cta-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.sticky-cta-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

.sticky-cta-discount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sticky-cta-original {
    font-size: 0.875rem;
    color: #dc3545;
    text-decoration: line-through;
    font-weight: 500;
}

.sticky-cta-free {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.sticky-cta-button {
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    white-space: normal;
    flex-shrink: 0;
    min-width: fit-content;
    text-align: center;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 280px;
}

/* Mobile styles for sticky CTA and modal */
@media (max-width: 768px) {
    .sticky-cta-bar {
        padding: var(--spacing-xs) var(--container-padding);
    }
    
    .sticky-cta-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
    }
    
    .sticky-cta-text {
        text-align: center;
        align-items: center;
    }
    
    .sticky-cta-label {
        font-size: 0.9375rem;
    }
    
    .sticky-cta-button {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
    }
    
    .footer {
        padding-bottom: calc(var(--spacing-lg) + 120px); /* More padding on mobile for taller CTA */
    }
    
    .modal.active {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-content {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 95vh;
        margin: 0;
        padding: var(--spacing-lg);
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        padding-right: 40px;
        margin-bottom: var(--spacing-sm);
        line-height: 1.3;
    }
    
    .modal-content p {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-md);
    }
    
    /* Form mobile improvements */
    .form {
        width: 100%;
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
        width: 100%;
    }
    
    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
        display: block;
        width: 100%;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="url"],
    .form-group input[type="tel"],
    .form-group textarea {
        width: 100%;
        padding: 0.875rem;
        font-size: 16px !important; /* Prevents zoom on iOS - must be 16px or larger */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 4px;
        box-sizing: border-box;
        min-height: 44px; /* Touch target size */
        transform: scale(1); /* Prevents zoom */
    }
    
    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    .radio-group {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
    }
    
    .radio-label {
        font-size: 0.9375rem;
        padding: 0.75rem 0;
        display: flex;
        align-items: center;
        min-height: 44px; /* Touch target size */
    }
    
    .radio-label input[type="radio"] {
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }
    
    .modal-close {
        top: var(--spacing-xs);
        right: var(--spacing-xs);
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }
    
    /* Ensure submit button is full width and properly sized */
    .form .btn-primary {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

/* Mobile Form Component Styles */
.form-mobile {
    width: 100%;
    margin: 0;
}

.form-group-mobile {
    margin-bottom: var(--spacing-md);
    width: 100%;
}

.form-group-mobile label,
.form-label-mobile {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 1rem;
    width: 100%;
}

.form-group-mobile input[type="text"],
.form-group-mobile input[type="email"],
.form-group-mobile input[type="url"],
.form-group-mobile input[type="tel"],
.form-group-mobile textarea {
    width: 100%;
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
    font-family: var(--font-body);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    min-height: 52px; /* Large touch target */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group-mobile input:focus,
.form-group-mobile textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(107, 142, 107, 0.1);
}

.form-group-mobile textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 1rem;
}

.radio-group-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.radio-label-mobile {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--color-bg-section);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: 1rem;
    min-height: 56px; /* Large touch target */
    transition: all 0.2s ease;
}

.radio-label-mobile:hover {
    border-color: var(--color-primary);
    background: rgba(107, 142, 107, 0.05);
}

.radio-label-mobile input[type="radio"] {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.radio-label-mobile input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--color-primary);
}

.form-submit-mobile {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.btn-mobile {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    min-height: 56px;
    font-weight: 700;
    border-radius: 8px;
}

.form-note-mobile {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .modal-mobile.active {
        align-items: flex-end;
        padding: 0;
    }
    
    .modal-content-mobile h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
        padding-right: 50px;
    }
}

.footer {
    padding: var(--spacing-lg) 0;
    padding-bottom: calc(var(--spacing-lg) + 80px); /* Extra padding for sticky CTA */
    background-color: var(--color-bg);
    text-align: left;
    border-top: 2px solid var(--color-primary);
    position: relative;
}

.footer p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

/* Header Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
        text-align: center;
    }
    
    /* Add padding to hero section on mobile to account for fixed header */
    .hero {
        padding-top: calc(var(--spacing-xl) + 80px) !important;
    }
    
    /* Also adjust thank-you page hero */
    .hero[style*="min-height"] {
        padding-top: calc(var(--spacing-xl) + 80px) !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
        --container-padding: 1.5rem;
        --font-size-base: 18px;
    }

    .hero {
        padding-top: calc(var(--spacing-md) + 80px);
        padding-bottom: var(--spacing-md);
        min-height: calc(100vh - 80px);
    }
    
    .btn-primary {
        padding: 1.25rem 2.5rem;
        font-size: 1.125rem;
    }

    .problem,
    .what-i-do,
    .how-it-works,
    .examples,
    .cta-section,
    .review-form {
        padding: var(--spacing-xl) 0;
    }
    
    .how-it-works {
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--color-primary);
        border-bottom: 2px solid var(--color-primary);
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .examples-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .radio-group {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .form .btn-primary {
        width: 100%;
        min-width: auto;
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
    
    /* Form mobile improvements */
    .modal-content {
        padding: var(--spacing-lg);
        max-height: 95vh;
    }
    
    .modal-content h2 {
        font-size: 1.75rem;
        padding-right: 40px;
        margin-bottom: var(--spacing-md);
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="url"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
        -webkit-appearance: none;
        border-radius: 4px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .radio-label {
        font-size: 0.9375rem;
    }
    
    .modal-close {
        top: var(--spacing-xs);
        right: var(--spacing-xs);
        width: 36px;
        height: 36px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .microcopy {
        font-size: 1rem;
    }
}

/* Accessibility - Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in,
    .fade-in-delay,
    .fade-in-delay-2 {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.link-secondary:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
