/* ============================================
   AlwaysViral Tools – Instagram Username Checker
   Design System & Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --bg-body: #fff0f5;
    --bg-card: #ffffff;
    --bg-input: #fce7f3;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-focus: #db2777;
    --accent-black: #be185d;
    --accent-hover: #9d174d;
    --success-bg: #ecfdf5;
    --success-border: #6ee7b7;
    --success-text: #065f46;
    --success-icon: #10b981;
    --error-bg: #fef2f2;
    --error-border: #fca5a5;
    --error-text: #991b1b;
    --warning-bg: #fffbeb;
    --warning-border: #fcd34d;
    --warning-text: #92400e;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Tool Section Container ---------- */
.tool-section {
    max-width: 640px;
    margin: 60px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .tool-section {
        margin: 30px auto;
        padding: 0 16px;
    }
}

/* ---------- Tool Header ---------- */
.tool-header {
    text-align: center;
    margin-bottom: 32px;
}

.tool-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f472b6, #be185d, #831843);
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(131, 58, 180, 0.25);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 24px rgba(131, 58, 180, 0.25); }
    50% { box-shadow: 0 8px 32px rgba(131, 58, 180, 0.4); }
}

.tool-header__icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.tool-header__title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tool-header__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ---------- Tool Card ---------- */
.tool-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
    opacity: 0;
    transition: var(--transition);
}

.tool-card:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .tool-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
}

/* ---------- Form Elements ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper__prefix {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper__field {
    width: 100%;
    padding: 14px 16px 14px 38px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
}

.input-wrapper__field::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.input-wrapper__field:focus {
    border-color: var(--border-focus);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.input-wrapper__field:focus + .input-wrapper__prefix,
.input-wrapper__field:not(:placeholder-shown) + .input-wrapper__prefix {
    color: var(--text-primary);
}

.input-wrapper__field:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

/* ---------- reCAPTCHA Container ---------- */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    transform-origin: center;
}

@media (max-width: 400px) {
    .recaptcha-container {
        transform: scale(0.85);
        margin-bottom: 16px;
    }
}

/* ---------- Submit Button ---------- */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: var(--accent-black);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover:not(:disabled)::after {
    width: 300px;
    height: 300px;
}

.btn-submit:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.3);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9ca3af;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---------- Loading Spinner ---------- */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    display: none;
}

/* ---------- Remaining Attempts Badge ---------- */
.attempts-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-input);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.attempts-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success-icon);
}

.attempts-badge__dot.warning {
    background: #f59e0b;
}

.attempts-badge__dot.danger {
    background: #ef4444;
}

/* ---------- Result Container ---------- */
.result-container {
    margin-top: 28px;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---------- Success Message (Username Available) ---------- */
.result-available {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: var(--radius-md);
}

.result-available__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--success-icon);
    color: #ffffff;
    font-size: 20px;
    animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.result-available__text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--success-text);
    margin-bottom: 2px;
}

.result-available__text p {
    font-size: 13px;
    color: #059669;
}

/* ---------- Profile Card (Username Taken) ---------- */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.profile-card__header {
    position: relative;
    padding: 32px 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-bottom: 1px solid var(--border-color);
}

.profile-card__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    margin-bottom: 14px;
    transition: var(--transition);
}

.profile-card__avatar:hover {
    transform: scale(1.05);
}

.profile-card__name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.profile-card__fullname {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-card__verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.profile-card__verified svg {
    width: 20px;
    height: 20px;
}

.profile-card__username {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-card__username a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.profile-card__username a:hover {
    color: var(--text-primary);
}

/* ---------- Profile Stats ---------- */
.profile-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
}

.profile-card__stat {
    text-align: center;
    padding: 18px 12px;
    border-right: 1px solid var(--border-color);
    transition: var(--transition);
}

.profile-card__stat:last-child {
    border-right: none;
}

.profile-card__stat:hover {
    background: var(--bg-input);
}

.profile-card__stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.profile-card__stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ---------- Profile Bio ---------- */
.profile-card__bio {
    padding: 20px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.profile-card__bio-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* ---------- Profile Badges ---------- */
.profile-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid;
}

.badge--private {
    color: #92400e;
    background: #fffbeb;
    border-color: #fcd34d;
}

.badge--public {
    color: #065f46;
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.badge--business {
    color: #1e40af;
    background: #eff6ff;
    border-color: #93c5fd;
}

.badge--verified {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #93c5fd;
}

.badge--taken {
    color: var(--error-text);
    background: var(--error-bg);
    border-color: var(--error-border);
}

/* ---------- Error / Warning Messages ---------- */
.result-error {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    border-radius: var(--radius-md);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-error__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    font-size: 20px;
}

.result-error__text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--error-text);
    margin-bottom: 2px;
}

.result-error__text p {
    font-size: 13px;
    color: #b91c1c;
}

/* ---------- Limit Reached Overlay ---------- */
.limit-overlay {
    margin-top: 24px;
    padding: 28px 24px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.limit-overlay__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f59e0b;
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 14px;
}

.limit-overlay h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--warning-text);
    margin-bottom: 6px;
}

.limit-overlay p {
    font-size: 14px;
    color: #b45309;
    line-height: 1.5;
}

/* ---------- Footer Credit ---------- */
.tool-footer {
    text-align: center;
    margin-top: 24px;
    padding: 12px;
}

.tool-footer p {
    font-size: 12px;
    color: var(--text-muted);
}

.tool-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.tool-footer a:hover {
    color: var(--text-primary);
}

/* ---------- Skeleton Loader ---------- */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: var(--radius-sm);
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

.skeleton-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 14px;
}

.skeleton-line {
    height: 14px;
    margin: 8px auto;
    border-radius: 4px;
}

.skeleton-line--sm { width: 40%; }
.skeleton-line--md { width: 60%; }
.skeleton-line--lg { width: 80%; }

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 480px) {
    .tool-header__title {
        font-size: 22px;
    }

    .tool-header__subtitle {
        font-size: 14px;
    }

    .profile-card__stat-value {
        font-size: 17px;
    }

    .profile-card__fullname {
        font-size: 16px;
    }

    .result-available,
    .result-error {
        padding: 16px 18px;
    }
}

/* ---------- Number Formatting Helper ---------- */
.stat-animated {
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-animated:hover {
    transform: scale(1.1);
}

/* ============================================
   SEO Content Sections
   ============================================ */

/* ---------- Section Base ---------- */
.seo-section {
    max-width: 880px;
    margin: 0 auto;
    padding: 64px 20px;
}

.seo-section--alt {
    background: var(--bg-input);
    max-width: 100%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.seo-section--alt .seo-container {
    max-width: 880px;
    margin: 0 auto;
}

.seo-container {
    max-width: 880px;
    margin: 0 auto;
}

/* ---------- Section Header ---------- */
.seo-section__header {
    text-align: center;
    margin-bottom: 48px;
}

.seo-section__badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #833ab4;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.08), rgba(253, 29, 29, 0.06));
    border: 1px solid rgba(131, 58, 180, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.seo-section__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.seo-section__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Why Use – Content Grid ---------- */
.seo-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.seo-content-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.seo-content-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.seo-content-block__icon {
    font-size: 32px;
    margin-bottom: 16px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.06), rgba(252, 176, 69, 0.06));
    border-radius: var(--radius-md);
}

.seo-content-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.seo-content-block p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.seo-content-block p:last-child {
    margin-bottom: 0;
}

/* ---------- Features Grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.08), rgba(253, 29, 29, 0.06));
    margin-bottom: 16px;
}

.feature-card__icon-wrap svg {
    width: 24px;
    height: 24px;
    fill: #833ab4;
}

.feature-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- How It Works – Steps ---------- */
.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 48px;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #833ab4, #fd1d1d);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.25);
}

.step-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-card__connector {
    display: flex;
    align-items: center;
    padding-top: 40px;
    flex-shrink: 0;
}

.step-card__connector svg {
    width: 24px;
    height: 24px;
    fill: var(--text-muted);
}

/* ---------- Prose Content ---------- */
.seo-prose {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.seo-prose h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 28px;
}

.seo-prose h3:first-child {
    margin-top: 0;
}

.seo-prose p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.seo-prose ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.seo-prose ul li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.seo-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #833ab4, #fcb045);
}

.seo-prose ul li strong {
    color: var(--text-primary);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: rgba(131, 58, 180, 0.2);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    gap: 16px;
    transition: var(--transition);
}

.faq-item__question:hover {
    color: #833ab4;
}

.faq-item__chevron {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item__chevron {
    transform: rotate(180deg);
    fill: #833ab4;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.faq-item.open .faq-item__answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-item__answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Responsive – SEO Sections ---------- */
@media (max-width: 768px) {
    .seo-section {
        padding: 48px 16px;
    }

    .seo-section__title {
        font-size: 22px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .steps-grid {
        flex-direction: column;
        gap: 16px;
    }

    .step-card__connector {
        display: none;
    }

    .seo-prose {
        padding: 24px;
    }

    .faq-item__question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-item__answer {
        padding: 0 18px;
    }

    .faq-item.open .faq-item__answer {
        padding: 0 18px 16px;
    }
}

@media (max-width: 480px) {
    .seo-section__title {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .seo-content-block {
        padding: 24px;
    }

    .seo-section__header {
        margin-bottom: 32px;
    }
}

/* ---------- CTA Carousel ---------- */
.cta-carousel {
    width: 100%; overflow: hidden; position: relative;
    padding: 10px 0; margin-top: 20px;
}
.cta-carousel::before, .cta-carousel::after {
    content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
    pointer-events: none;
}
.cta-carousel::before { left: 0; background: linear-gradient(to right, var(--bg-body), transparent); }
.cta-carousel::after { right: 0; background: linear-gradient(to left, var(--bg-body), transparent); }

.cta-track {
    display: flex; gap: 20px; width: max-content;
    animation: scroll 60s linear infinite;
}
.cta-track:hover { animation-play-state: paused; }

.cta-card {
    flex: 0 0 280px; background: var(--bg-card);
    padding: 24px; border-radius: var(--radius-xl);
    border: 1px solid var(--border-color); box-shadow: var(--shadow-md);
    text-decoration: none; transition: var(--transition);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cta-card:hover { transform: translateY(-5px); border-color: var(--accent-purple); box-shadow: var(--shadow-lg); }
.cta-card__icon { font-size: 32px; margin-bottom: 12px; }
.cta-card__title { font-size: 15px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; line-height: 1.3; }
.cta-card__btn {
    font-size: 12px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #f472b6, #be185d, #831843);
    padding: 8px 18px; border-radius: var(--radius-full);
    margin-top: auto; box-shadow: 0 4px 12px rgba(131, 58, 180, 0.2);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 8)); }
}

