/**
 * Instagram Influencer Pricing Calculator - CreatorFlow Free Tool
 * Brand Colors: #000000 (black), #d1fe17 (lime green)
 * NO box-shadows, NO gradients
 */

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

body {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings use Stack Sans Headline per brand guidelines */
h1, h2, h3, h4, h5, h6,
.tool-hero__title,
.tool-card__title,
.tool-info__title,
.tool-info__subtitle,
.benefit-card__title,
.tool-next-step__title,
.next-step-feature__title,
.tool-faq__title,
.faq-question,
.tool-tab,
.tool-tab__text,
.tool-tab__number {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Tool Container */
.tool-container {
    min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */
.tool-hero {
    background: #ffffff;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.tool-hero__container {
    max-width: 800px;
    margin: 0 auto;
}

.tool-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.instagram-icon {
    color: #E1306C; /* Instagram brand color */
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff3cd;
    color: #856404;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    border: 2px solid #ffc107;
}

.coming-soon-badge svg {
    color: #856404;
}

.tool-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.tool-hero__description {
    font-size: 1.125rem;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   TOOL SECTION (TABS + FORM)
   ============================================ */
.tool-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.tool-section__container {
    max-width: 900px;
    margin: 0 auto;
}

/* Tabs */
.tool-tabs {
    display: flex;
    gap: 1rem;
    margin: 0 auto 2rem;
    border-bottom: 2px solid #e5e7eb;
    max-width: 700px;
}

.tool-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tool-tab:hover:not(:disabled) {
    color: #000000;
}

.tool-tab--active {
    color: #000000;
    border-bottom-color: #d1fe17;
}

.tool-tab:disabled,
.tool-tab--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tool-tab__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f9fafb;
    color: #6b7280;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.tool-tab--active .tool-tab__number {
    background: #d1fe17;
    color: #000000;
}

/* Tab Content */
.tool-content {
    display: none;
}

.tool-content--active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tool Card */
.tool-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
}

.tool-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Form Styles */
.tool-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    font-family: inherit;
    color: #000000;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #d1fe17;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Select Dropdown Styling */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: -0.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background: #000000;
    color: #ffffff;
}

.btn--primary:hover:not(:disabled) {
    background: #d1fe17;
    color: #000000;
}

.btn--primary:disabled,
.btn--primary[disabled] {
    background: #6b7280;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn--cta-large {
    background: #000000;
    color: #ffffff;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

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

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Coming Soon Notice in Results */
.coming-soon-notice {
    text-align: center;
    padding: 3rem 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    border: 2px dashed #e5e7eb;
}

.coming-soon-notice svg {
    color: #6b7280;
    margin: 0 auto 1.5rem;
    display: block;
}

.coming-soon-notice h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.coming-soon-notice p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-notice p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.tool-info {
    background: #ffffff;
    padding: 5rem 2rem;
}

.tool-info__container {
    max-width: 800px;
    margin: 0 auto;
}

.tool-info__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tool-info__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #000000;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tool-info__content {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 2rem;
}

.tool-info__content p {
    margin-bottom: 1rem;
}

.tool-info__content p:last-child {
    margin-bottom: 0;
}

.tool-info__closing {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-top: 3rem;
}

/* Pricing Tiers List */
.pricing-tiers {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-tier {
    background: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #d1fe17;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.pricing-tier strong {
    color: #000000;
    font-weight: 700;
}

/* How It Works List */
.how-it-works-list {
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.how-it-works-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.how-it-works-list li::marker {
    color: #d1fe17;
    font-weight: 700;
}

/* Benefit Cards Grid */
.tool-info__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

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

.benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #f9fafb;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.benefit-card__icon svg {
    color: #000000;
}

.benefit-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.benefit-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
}

/* ============================================
   NEXT STEP CTA SECTION
   ============================================ */
.tool-next-step {
    background: #ffffff;
    padding: 5rem 2rem;
}

.tool-next-step__container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tool-next-step__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #d1fe17;
    color: #000000;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.tool-next-step__badge svg {
    color: #000000;
}

.tool-next-step__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tool-next-step__description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.tool-next-step__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.next-step-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.next-step-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f9fafb;
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.next-step-feature__icon svg {
    color: #000000;
}

.next-step-feature__content {
    flex: 1;
}

.next-step-feature__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.next-step-feature__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
}

.tool-next-step__microcopy {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-top: 1rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.tool-faq {
    background: #ffffff;
    padding: 5rem 2rem;
}

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

.tool-faq__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.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;
}

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

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

.faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

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

.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;
    text-decoration: underline;
    font-weight: 600;
}

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

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .tool-hero {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .tool-section {
        padding: 3rem 1.5rem;
    }

    .tool-info {
        padding: 4rem 1.5rem;
    }

    .tool-next-step {
        padding: 4rem 1.5rem;
    }

    .tool-faq {
        padding: 4rem 1.5rem;
    }

    .tool-info__benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .tool-next-step__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .tool-hero {
        padding: 2rem 1rem 1rem;
    }

    .tool-hero__title {
        font-size: 2rem;
    }

    .tool-hero__description {
        font-size: 1rem;
    }

    .tool-section {
        padding: 2rem 1rem;
    }

    .tool-tabs {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
    }

    .tool-tab {
        padding: 0.875rem 1.25rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        margin-bottom: 0;
    }

    .tool-tab--active {
        border-color: #d1fe17;
        border-bottom-color: #d1fe17;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .tool-card__title {
        font-size: 1.25rem;
    }

    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .coming-soon-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .coming-soon-notice {
        padding: 2rem 1.5rem;
    }

    .coming-soon-notice h3 {
        font-size: 1.25rem;
    }

    .coming-soon-notice p {
        font-size: 0.9375rem;
    }

    .pricing-tier {
        font-size: 0.9375rem;
        padding: 0.875rem 1.25rem;
    }

    .tool-info {
        padding: 3rem 1rem;
    }

    .tool-info__title {
        font-size: 1.75rem;
    }

    .tool-info__subtitle {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .tool-next-step {
        padding: 3rem 1rem;
    }

    .tool-next-step__title {
        font-size: 1.75rem;
    }

    .tool-next-step__description {
        font-size: 1rem;
    }

    .tool-faq {
        padding: 3rem 1rem;
    }

    .tool-faq__title {
        font-size: 1.75rem;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9375rem;
    }
}

/* Small Mobile */
@media (max-width: 430px) {
    .tool-hero {
        padding: 1.5rem 1rem 1rem;
    }

    .tool-hero__title {
        font-size: 1.75rem;
    }

    .coming-soon-badge {
        flex-wrap: wrap;
        justify-content: center;
    }

    .coming-soon-notice {
        padding: 1.5rem 1rem;
    }

    .pricing-tier {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }

    .tool-section {
        padding: 1.5rem 1rem;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .tool-info {
        padding: 2rem 1rem;
    }

    .tool-next-step {
        padding: 2rem 1rem;
    }

    .tool-faq {
        padding: 2rem 1rem;
    }

    .next-step-feature {
        flex-direction: column;
        text-align: center;
    }

    .next-step-feature__icon {
        margin: 0 auto;
    }
}
