/**
 * ChatGPT for Instagram Landing Page
 * CreatorFlow Brand Guidelines Compliant
 *
 * Brand Colors:
 * - Primary Accent: #d1fe17 (Lime Green) - Use sparingly
 * - Primary Dark: #000000 (Pure Black) - ONLY dark color allowed
 * - White: #FFFFFF
 * - Light Greys: #f9fafb, #f3f4f6, #e5e7eb
 * - Text: #000000 (headings), #374151 (body), #6b7280 (secondary)
 *
 * CRITICAL RULES:
 * - NO box-shadows anywhere
 * - ONLY #000000 for dark backgrounds
 * - NO gradients on dark backgrounds
 * - Lime green used sparingly (5-10% of elements)
 *
 * Font Family:
 * - Headings: 'Stack Sans Headline', sans-serif
 * - Body: 'Stack Sans Headline', sans-serif
 */

/* ============================================
   GLOBAL STYLES & RESETS
   ============================================ */

.chatgpt-instagram-page {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #374151;
    line-height: 1.6;
    background: #ffffff;
}

/* ============================================
   HERO SECTION
   ============================================ */

.chatgpt-hero {
    background: #ffffff;
    padding: 3rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.chatgpt-hero__container {
    max-width: 900px;
    margin: 0 auto;
}

.chatgpt-hero__badge {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-family: 'Stack Sans Headline', sans-serif;
}

.chatgpt-hero__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.chatgpt-hero__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.chatgpt-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.chatgpt-hero__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #000000;
    font-family: 'Stack Sans Headline', sans-serif;
}

.chatgpt-hero__cta-primary:hover {
    background: #d1fe17;
    color: #000000;
    border-color: #d1fe17;
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.chatgpt-hero__cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

.chatgpt-hero__cta-secondary {
    color: #374151;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.chatgpt-hero__cta-secondary:hover {
    color: #000000;
}

.chatgpt-hero__microcopy {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================
   WHAT IS IT SECTION
   ============================================ */

.chatgpt-what-is {
    background: #ffffff;
    padding: 4rem 1.5rem;
}

.chatgpt-what-is__container {
    max-width: 900px;
    margin: 0 auto;
}

.chatgpt-what-is__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.chatgpt-what-is__intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

.chatgpt-what-is__intro strong {
    color: #000000;
    font-weight: 700;
}

.chatgpt-what-is__content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

.chatgpt-what-is__content strong {
    color: #000000;
    font-weight: 600;
}

.chatgpt-what-is__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.what-is-feature {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.what-is-feature:hover {
    border-color: #d1fe17;
    background: #ffffff;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

/* ============================================
   KEY FEATURES SECTION
   ============================================ */

.chatgpt-features {
    background: #f9fafb;
    padding: 4rem 1.5rem;
}

.chatgpt-features__container {
    max-width: 1200px;
    margin: 0 auto;
}

.chatgpt-features__header {
    text-align: center;
    margin-bottom: 3rem;
}

.chatgpt-features__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.chatgpt-features__subtitle {
    font-size: 1.125rem;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
}

.chatgpt-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #d1fe17;
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-card__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.chatgpt-how-it-works {
    background: #ffffff;
    padding: 4rem 1.5rem;
}

.chatgpt-how-it-works__container {
    max-width: 900px;
    margin: 0 auto;
}

.chatgpt-how-it-works__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.chatgpt-how-it-works__subtitle {
    font-size: 1.125rem;
    color: #374151;
    text-align: center;
    margin-bottom: 3rem;
}

.how-it-works-steps {
    margin-bottom: 3rem;
}

.how-it-works-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #d1fe17;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Stack Sans Headline', sans-serif;
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.how-it-works__example {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.example-title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.example-prompt {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9375rem;
    color: #374151;
    margin-bottom: 1rem;
    font-style: italic;
}

.example-output {
    background: #ffffff;
    border: 1px solid #d1fe17;
    border-radius: 0.5rem;
    padding: 1rem;
}

.example-label {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.example-caption {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.example-caption strong {
    color: #000000;
}

/* ============================================
   BEST PROMPTS SECTION
   ============================================ */

.chatgpt-prompts {
    background: #f9fafb;
    padding: 4rem 1.5rem;
}

.chatgpt-prompts__container {
    max-width: 1200px;
    margin: 0 auto;
}

.chatgpt-prompts__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.chatgpt-prompts__subtitle {
    font-size: 1.125rem;
    color: #374151;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prompts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.prompt-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.prompt-card:hover {
    border-color: #d1fe17;
}

.prompt-card__category {
    display: inline-block;
    background: #f9fafb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.prompt-card__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prompt-card__code {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.prompt-card__copy {
    background: #000000;
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Stack Sans Headline', sans-serif;
    width: 100%;
}

.prompt-card__copy:hover {
    background: #d1fe17;
    color: #000000;
}

.prompt-card__copy.copied {
    background: #d1fe17;
    color: #000000;
}

/* ============================================
   USE CASES SECTION
   ============================================ */

.chatgpt-use-cases {
    background: #ffffff;
    padding: 4rem 1.5rem;
}

.chatgpt-use-cases__container {
    max-width: 1000px;
    margin: 0 auto;
}

.chatgpt-use-cases__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.use-case-scenarios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.use-case-scenario {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.use-case-scenario:hover {
    border-color: #d1fe17;
    background: #ffffff;
}

.use-case-scenario__badge {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: 'Stack Sans Headline', sans-serif;
}

.use-case-scenario__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.use-case-scenario__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

/* ============================================
   AUTOMATION BRIDGE SECTION (CreatorFlow Pitch)
   ============================================ */

.chatgpt-automation-bridge {
    background: #f9fafb;
    padding: 4rem 1.5rem;
}

.chatgpt-automation-bridge__container {
    max-width: 1100px;
    margin: 0 auto;
}

.bridge-badge {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-family: 'Stack Sans Headline', sans-serif;
    display: block;
    text-align: center;
}

.bridge-title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bridge-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.bridge-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
}

.bridge-column--automated {
    border: 3px solid #d1fe17;
}

.bridge-column__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bridge-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.bridge-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.bridge-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bridge-cta {
    display: block;
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    font-family: 'Stack Sans Headline', sans-serif;
    margin-bottom: 0.75rem;
}

.bridge-cta:hover {
    background: #d1fe17;
    color: #000000;
}

.bridge-microcopy {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.chatgpt-faq {
    background: #ffffff;
    padding: 4rem 1.5rem;
}

.chatgpt-faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: #d1fe17;
}

.faq-item[open] {
    border-color: #d1fe17;
}

.faq-question {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #000000;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #000000;
    font-weight: 600;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #d1fe17;
}

.faq-answer em {
    font-style: italic;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.chatgpt-cta {
    background: #000000;
    padding: 60px 40px;
    text-align: center;
    border-radius: 32px;
    margin: 40px auto;
    max-width: 1400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatgpt-cta__container {
    max-width: 900px;
    margin: 0 auto;
}

.chatgpt-cta__title {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.chatgpt-cta__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.chatgpt-cta__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
}

.chatgpt-cta__button {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Stack Sans Headline', sans-serif;
    margin-bottom: 1rem;
}

.chatgpt-cta__button:hover {
    background: #ffffff;
    color: #000000;
}

.chatgpt-cta__microcopy {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet: 640px and up */
@media (min-width: 640px) {
    .chatgpt-hero {
        padding: 4rem 2rem;
    }

    .chatgpt-hero__actions {
        flex-direction: row;
        justify-content: center;
    }

    .chatgpt-what-is {
        padding: 5rem 2rem;
    }

    .chatgpt-what-is__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .chatgpt-features {
        padding: 5rem 2rem;
    }

    .chatgpt-features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .chatgpt-how-it-works {
        padding: 5rem 2rem;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .chatgpt-prompts {
        padding: 5rem 2rem;
    }

    .prompts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .prompt-card__copy {
        width: auto;
    }

    .chatgpt-use-cases {
        padding: 5rem 2rem;
    }

    .chatgpt-automation-bridge {
        padding: 5rem 2rem;
    }

    .chatgpt-faq {
        padding: 5rem 2rem;
    }

    .chatgpt-cta__features {
        text-align: center;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .chatgpt-hero {
        padding: 5rem 2rem;
    }

    .chatgpt-what-is {
        padding: 6rem 2rem;
    }

    .chatgpt-what-is__features {
        grid-template-columns: repeat(4, 1fr);
    }

    .chatgpt-features {
        padding: 6rem 2rem;
    }

    .chatgpt-features__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .chatgpt-how-it-works {
        padding: 6rem 2rem;
    }

    .chatgpt-prompts {
        padding: 6rem 2rem;
    }

    .prompts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .chatgpt-use-cases {
        padding: 6rem 2rem;
    }

    .use-case-scenarios {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .chatgpt-automation-bridge {
        padding: 6rem 2rem;
    }

    .bridge-comparison {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .chatgpt-faq {
        padding: 6rem 2rem;
    }
}

/* Large Desktop: 1280px and up */
@media (min-width: 1280px) {
    .chatgpt-hero {
        padding: 6rem 2rem;
    }
}

/* Mobile adjustments for Final CTA */
@media (max-width: 768px) {
    .chatgpt-cta {
        padding: 40px 24px;
        border-radius: 24px;
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    .chatgpt-cta {
        padding: 30px 20px;
        border-radius: 20px;
        margin: 20px auto;
    }
}
