/**
 * Instagram Media Downloader - CreatorFlow Free Tool
 * Brand Colors: #000000 (black), #d1fe17 (lime green)
 * NO box-shadows, NO gradients on dark backgrounds
 */

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

body {
    font-family: 'neusanstrial', -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 Poppins per brand guidelines */
h1, h2, h3, h4, h5, h6,
.tool-hero__title,
.tool-info__title,
.tool-info__subtitle,
.info-step__title,
.downloader-title,
.result-title,
.tool-next-step__title,
.next-step-feature__title,
.tool-comparison__title,
.comparison-column__title,
.tool-faq__title,
.faq-question,
.tool-cta__title,
.tool-tab,
.tool-tab__text,
.tool-tab__number {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.tool-hero {
    /* NOTE: NO border-bottom - removed per user request */
    background: #ffffff;
    padding: 11rem 0 1.5rem;
    text-align: center;
}

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

.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: 1.5rem;
}

.download-icon {
    color: #E1306C;
}

.tool-hero__title {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: #000000 !important;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.15;
}

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

/* ============================================
   TOOL SECTION (DOWNLOADER)
   ============================================ */
.tool-section {
    padding: 2rem 0;
    background: #f9fafb;
}

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

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

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

/* ============================================
   DOWNLOADER CARD
   ============================================ */
.downloader-card {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.downloader-form {
    padding: 2.5rem;
}

.downloader-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.downloader-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* URL Input */
.url-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.url-input-wrapper:focus-within {
    border-color: #d1fe17;
}

.url-icon {
    padding: 0.75rem;
    color: #6b7280;
    flex-shrink: 0;
}

.url-input {
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: #000000;
    background: transparent;
    min-width: 0;
}

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

.clear-url-btn {
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.clear-url-btn:hover {
    color: #ef4444;
}

/* Error Message */
.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    border: 1px solid #fecaca;
}

/* Downloader Info Sidebar */
.downloader-info {
    background: #f9fafb;
    padding: 2rem;
    border-left: 1px solid #e5e7eb;
}

.info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.info-steps-mini {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.info-step-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #d1fe17;
    color: #000000;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Supported Types */
.supported-types {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.supported-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
}

.type-badge svg {
    color: #6b7280;
}

/* ============================================
   RESULT CARD
   ============================================ */
.result-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 2rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

/* Media Preview */
.media-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.media-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
}

.media-item img,
.media-item video {
    width: 100%;
    height: auto;
    display: block;
}

.media-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-item:hover .media-item__overlay {
    opacity: 1;
}

.media-item__type {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.media-item__download {
    padding: 0.75rem 1.5rem;
    background: #d1fe17;
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.media-item__download:hover {
    background: #ffffff;
}

/* Download Actions */
.download-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-all-btn:hover {
    background: #d1fe17;
    color: #000000;
}

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

.btn--primary {
    background: #000000;
    color: #ffffff;
    width: 100%;
    justify-content: center;
}

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

.btn--primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn--outline {
    background: transparent;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn--outline:hover {
    border-color: #d1fe17;
    color: #000000;
}

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

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

.btn--cta-large {
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

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

/* Loading State */
.btn--loading {
    position: relative;
    color: transparent !important;
}

.btn--loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn--loading:hover::after {
    border-color: #000000;
    border-top-color: transparent;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

.tool-info__title {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.2;
}

.tool-info__subtitle {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #000000 !important;
    margin: 2rem 0 1rem;
    text-align: left;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.tool-info__content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.25rem;
}

/* Steps */
.tool-info__steps {
    margin: 1.5rem 0 2rem;
    position: relative;
}

.tool-info__steps::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, #d1fe17 0%, #d1fe17 50%, transparent 50%, transparent 100%);
    background-size: 2px 20px;
    z-index: 0;
}

.info-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.info-step:hover {
    border-color: #d1fe17;
    transform: translateX(8px);
}

.info-step:last-child {
    margin-bottom: 0;
}

.info-step__icon {
    position: relative;
    flex-shrink: 0;
}

.info-step__icon svg {
    position: absolute;
    top: 11px;
    left: 10px;
    color: #000000;
    z-index: 2;
}

.info-step__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #d1fe17;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.info-step__content {
    flex: 1;
}

.info-step__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.info-step__content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

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

.benefit-card {
    background: #f9fafb;
    padding: 1.75rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.benefit-card__icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d1fe17;
    flex-shrink: 0;
}

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

.benefit-card__content {
    flex: 1;
}

.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;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Use Cases */
.use-case-scenarios {
    margin: 3rem 0;
}

.use-case-scenario {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 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;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.use-case-scenario__title {
    font-size: 1.25rem;
    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;
    margin-bottom: 0;
}

/* Best Practices */
.best-practices-list {
    margin: 3rem 0;
}

.best-practice-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.best-practice-item:hover {
    border-color: #d1fe17;
    transform: translateX(4px);
}

.best-practice-item__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: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.best-practice-item__content {
    flex: 1;
}

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

.best-practice-item__content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.tool-info__closing {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #374151;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border-left: 4px solid #d1fe17;
}

.tool-info__closing strong {
    color: #000000;
}

/* ============================================
   NEXT STEP SECTION
   ============================================ */
.tool-next-step {
    background: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.tool-next-step__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.tool-next-step__title {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

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

.next-step-feature {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.next-step-feature__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d1fe17;
}

.next-step-feature__icon svg {
    width: 24px;
    height: 24px;
    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.4;
}

.next-step-feature__text {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

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

/* ============================================
   COMPARISON SECTION
   ============================================ */
.tool-comparison {
    background: #ffffff;
    padding: 3.5rem 0;
}

.tool-comparison__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tool-comparison__header {
    text-align: center;
    margin-bottom: 3rem;
}

.tool-comparison__badge {
    display: inline-block;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.tool-comparison__title {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #000000 !important;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.2;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.comparison-column {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
}

.comparison-column--automated {
    background: #ffffff;
    border: 2px solid #d1fe17;
}

.comparison-column__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.comparison-column__header--featured {
    border-bottom-color: #d1fe17;
}

.comparison-column__title {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.comparison-column__subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

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

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

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-icon--check {
    color: #10b981;
}

.comparison-icon--cross {
    color: #ef4444;
}

.comparison-column .btn--cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

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

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

.tool-faq__title {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

.faq-item {
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

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

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

.faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000000;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.faq-question:hover {
    color: #000000;
}

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

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

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

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.faq-answer p {
    margin: 0 0 1rem 0;
}

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet: 640px and up */
@media (min-width: 640px) {
    .tool-hero__container,
    .tool-section__container,
    .tool-info__container,
    .tool-next-step__container,
    .tool-comparison__container,
    .tool-faq__container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 1024px) {
    .downloader-card {
        grid-template-columns: 1fr;
    }

    .downloader-info {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 768px) {
    .tool-hero {
    /* NOTE: NO border-bottom - removed per user request */
        padding: 8rem 0 1rem;
    }

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

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

    .downloader-form {
        padding: 1.5rem;
    }

    .downloader-info {
        padding: 1.5rem;
    }

    .tool-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tool-tabs::-webkit-scrollbar {
        display: none;
    }

    .tool-tab {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        flex-shrink: 0;
    }

    .tool-tab__text {
        display: none;
    }

    .tool-tab--active .tool-tab__text {
        display: inline;
    }

    .result-card {
        padding: 1.5rem;
    }

    .result-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .media-preview {
        grid-template-columns: 1fr;
    }

    .tool-info {
        padding: 2.5rem 0;
    }

    .tool-next-step {
        padding: 2.5rem 0;
    }

    .tool-comparison {
        padding: 2.5rem 0;
    }

    .tool-faq {
        padding: 2.5rem 0;
    }

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

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

    .tool-info__subtitle {
        margin: 2rem 0 1rem;
    }

    .tool-info__steps::before {
        display: none;
    }

    .info-step {
        gap: 1rem;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .info-step:hover {
        transform: none;
    }

    .info-step__icon svg {
        width: 24px;
        height: 24px;
        top: 9px;
        left: 8px;
    }

    .info-step__number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

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

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-card__icon {
        width: 48px;
        height: 48px;
    }

    .benefit-card__icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 430px) {
    .tool-hero {
    /* NOTE: NO border-bottom - removed per user request */
        padding: 7rem 0 0.75rem;
    }

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

    .downloader-form {
        padding: 1.25rem;
    }

    .downloader-info {
        padding: 1.25rem;
    }

    .result-card {
        padding: 1.25rem;
    }

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

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

    .tool-comparison {
        padding: 2rem 0;
    }

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

    .info-step {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .tool-info__closing {
        padding: 1rem;
        font-size: 1rem;
    }

    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-card__icon {
        width: 44px;
        height: 44px;
    }

    .benefit-card__icon svg {
        width: 24px;
        height: 24px;
    }
}
