/* ============================================
   PREMIUM DARK DEVOTIONAL THEME – FINAL
   (Custom Platform Dropdown Styling Included)
   ============================================ */
:root {
    --primary: #d4a843;
    --primary-hover: #b8860b;
    --primary-light: rgba(212, 168, 67, 0.12);
    --bg: #250707;
    --bg-card: #2d0d0d;
    --bg-card-alt: #1f0606;
    --surface: #2d0d0d;
    --surface-alt: #1f0606;
    --text: #f5e6d3;
    --text-secondary: #c4a88c;
    --text-muted: #8c6e5c;
    --border: #3a1a1a;
    --border-light: #4a2525;
    --accent-gold: #c49a4a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.7);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-full: 999px;
    --font-heading: 'Georgia', 'Noto Serif', serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== APP CONTAINER ========== */
.app-container {
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 8px 0 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== HEADER – PREMIUM BRAND LOGO ========== */
.app-header {
    text-align: center;
    padding: 14px 16px 12px;
    position: relative;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, #351212 0%, #250707 100%);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.header-bg { display: none; }
.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.header-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.header-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #f7d774 0%, #c1953a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 0 12px rgba(212,168,67,0.25);
}
.title-short { display: none; }
.title-full { display: inline; }

.header-subtitle {
    font-size: 0.85rem;
    color: #c4a88c;
    max-width: 500px;
    margin: 4px auto 0;
    line-height: 1.4;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

/* ========== MAIN LAYOUT ========== */
.main-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 0 auto;
}
.panel {
    display: flex;
    flex-direction: column;
}
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 14px 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}
.output-card {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 300px;
}

/* ========== FORM ELEMENTS ========== */
.form-group { margin-bottom: 8px; }
.form-group:last-child { margin-bottom: 0; }
.form-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.label-icon { font-size: 1rem; flex-shrink: 0; }

.search-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-input::placeholder { color: var(--text-muted); opacity: 0.6; }
.search-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 74, 0.12);
}

/* ========== SUGGESTIONS DROPDOWN ========== */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    box-shadow: var(--shadow-md);
}
.suggestion-item {
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: background 0.15s;
    border-bottom: 1px solid var(--border);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--primary-light); color: var(--accent-gold); }

/* ========== TRY EXAMPLES ========== */
.try-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
}
.example-chip {
    padding: 5px 13px;
    background: rgba(196, 154, 74, 0.08);
    border: 1px solid rgba(196, 154, 74, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}
.example-chip:hover { background: rgba(196, 154, 74, 0.18); border-color: var(--accent-gold); }

/* ========== CUSTOM SELECT (Language etc.) ========== */
.custom-select { position: relative; }
.custom-select select {
    width: 100%;
    padding: 9px 30px 9px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}
.custom-select select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 74, 0.12);
    outline: none;
}
.select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== CUSTOM PLATFORM DROPDOWN ========== */
/* The container – same as .custom-select */
#platformCustomSelect {
    position: relative;
}
/* The selected visible area */
.select-selected {
    width: 100%;
    padding: 9px 30px 9px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color var(--transition-fast);
}
.select-selected:hover {
    border-color: var(--accent-gold);
}
/* The dropdown items container */
.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 220px;
    overflow-y: auto;
    z-index: 150;
    display: none;
    box-shadow: var(--shadow-md);
}
.select-items.show {
    display: block;
}
/* Each item */
.select-item {
    padding: 9px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: background 0.15s;
    border-bottom: 1px solid var(--border);
}
.select-item:last-child { border-bottom: none; }
.select-item:hover {
    background: var(--primary-light);
    color: var(--accent-gold);
}
.select-item.selected {
    color: var(--accent-gold);
    font-weight: 600;
}
/* SVG icons within the dropdown */
.platform-icon {
    flex-shrink: 0;
    color: inherit;
}

/* ========== CTA TOGGLE – original golden/orange (unused now but keep for compatibility) ========== */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
}
.toggle-info { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.toggle-label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.toggle-hint {
    display: block;
    width: 100%;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-left: 22px;
    margin-top: -1px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #3a3a3a;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
}
.toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: #f5e6d3;
    border-radius: 50%;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.toggle-switch input:checked + .toggle-slider {
    background: #FF6B35;
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* ========== PREMIUM GOLDEN GENERATE BUTTON (shining) ========== */
.generate-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #d4a843 0%, #b8860b 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(212, 168, 67, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    letter-spacing: 0.02em;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}
.generate-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s;
}
.generate-btn:hover {
    background: linear-gradient(135deg, #e6b84a 0%, #c9971a 100%);
    box-shadow: 0 6px 26px rgba(212, 168, 67, 0.6), inset 0 1px 0 rgba(255,255,255,0.25);
    transform: translateY(-1px);
}
.generate-btn:hover::after { left: 120%; }
.generate-btn:active { transform: scale(0.98); }
.generate-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ========== OUTPUT PANEL ========== */
.output-panel { display: none; }
.output-panel.visible {
    display: flex;
    animation: fadeSlideUp 0.4s ease-out;
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== TABS ========== */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    background: var(--surface-alt);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    flex-shrink: 0;
}
.tab-btn {
    flex: 1;
    padding: 11px 10px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all var(--transition-fast);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transform: scaleX(0.6);
    transition: all var(--transition-smooth);
}
.tab-btn.active { color: var(--accent-gold); }
.tab-btn.active::after { opacity: 1; transform: scaleX(1); }

/* ========== TAB CONTENT ========== */
.tab-content {
    display: none;
    padding: 12px 12px;
    flex: 1 0 auto;
    overflow-y: auto;
}
.tab-content.active {
    display: flex;
    flex-direction: column;
    animation: fadeSlideIn 0.3s ease-out;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== DETECTED SUBJECT CARD ========== */
.detected-subject-card {
    background: rgba(196, 154, 74, 0.08);
    border: 1px solid rgba(196, 154, 74, 0.3);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.detected-subject-icon { font-size: 1.5rem; flex-shrink: 0; }
.detected-subject-info { flex: 1; min-width: 0; }
.detected-subject-name { font-weight: 700; color: var(--accent-gold); font-size: 0.95rem; }
.detected-keyword { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; }
.detected-confidence { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ========== CAPTION DISPLAY ========== */
.caption-display {
    min-height: 90px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    line-height: 1.7;
    font-size: 0.9rem;
    word-break: break-word;
    white-space: pre-wrap;
    color: var(--text);
    flex-shrink: 0;
}
.caption-display.has-content {
    border-color: rgba(196, 154, 74, 0.4);
    background: rgba(31, 6, 6, 0.9);
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 24px 10px;
    color: var(--text-muted);
}
.empty-state-icon { font-size: 2.2rem; margin-bottom: 8px; opacity: 0.5; display: block; }
.empty-state p { font-size: 0.88rem; margin-bottom: 3px; }

/* ========== COPY BUTTONS ========== */
.btn-copy,
.btn-copy-hashtags {
    width: 100%;
    padding: 9px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}
.btn-copy:hover:not(:disabled),
.btn-copy-hashtags:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(196, 154, 74, 0.06);
}
.btn-copy:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-copy-all {
    background: rgba(196, 154, 74, 0.08);
    border-color: rgba(196, 154, 74, 0.4);
    color: var(--accent-gold);
    margin-top: 8px;
}
.btn-copy-all:hover {
    background: rgba(196, 154, 74, 0.15);
    border-color: var(--accent-gold);
}

/* ========== HASHTAG CHIPS ========== */
.hashtag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 8px;
}
.hashtag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    background: var(--surface-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
    white-space: nowrap;
}
.hashtag-chip:hover { border-color: var(--accent-gold); color: var(--text); }
.hashtag-chip.selected {
    background: rgba(196, 154, 74, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 600;
}
.hashtag-chip input[type="checkbox"] {
    width: 14px; height: 14px;
    accent-color: var(--accent-gold);
    cursor: pointer;
    flex-shrink: 0;
}

/* ========== SELECTED HASHTAGS ========== */
.selected-hashtags-box {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    margin-top: 4px;
}
.selected-hashtags-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c4a88c;
    margin-bottom: 6px;
}
.selected-count { font-size: 0.7rem; color: #8c6e5c; margin-left: auto; }
.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.selected-tag {
    padding: 4px 10px;
    background: rgba(196, 154, 74, 0.12);
    border: 1px solid rgba(196, 154, 74, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    color: var(--accent-gold);
    white-space: nowrap;
}
.hashtag-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* ========== COPY TOAST ========== */
.copy-toast {
    display: none;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 200;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}
.copy-toast.show {
    display: block;
    animation: toastIn 0.35s ease-out, toastOut 0.35s ease-in 1.5s forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(15px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(-15px); }
}

/* ========== FOOTER ========== */
.app-footer {
    text-align: center;
    padding: 10px 16px 6px;
    font-size: 0.7rem;
    color: #6e5a4a;
    opacity: 0.7;
    flex-shrink: 0;
}

/* ==========================================
   DESKTOP (≥768px) – unchanged premium layout
   ========================================== */
@media (min-width: 768px) {
    .app-container {
        height: 100vh;
        padding: 8px 0 0;
    }
    .main-layout {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        flex: 1;
        min-height: 0;
    }
    .input-panel { flex:0 0 30%; }
    .output-panel { flex:1; }
    .output-panel.visible { display: flex; }
    .card { padding: 13px 14px; }
    .tab-content { padding: 10px 10px; }
    .caption-display { min-height: 85px; }
    .title-full { display: inline; }
    .title-short { display: none; }
    .hashtag-actions { flex-direction: column; }
}

/* ==========================================
   MOBILE (320px–767px) – polished responsiveness
   ========================================== */
@media (max-width: 767px) {
    .app-container {
        width: 100%;
        padding: 6px 8px 10px;
        min-height: 100vh;
        height: auto;
    }
    .header-icon { display: none; }
    .app-header { padding: 12px 10px 10px; margin-bottom: 8px; }
    .header-title-row { gap: 0; }
    .header-title { font-size: 1.4rem; letter-spacing: 0.04em; }
    .header-subtitle { font-size: 0.76rem; margin-top: 3px; }
    .title-full { display: none; }
    .title-short { display: inline; }
    .main-layout { flex-direction: column; gap: 10px; flex: 1 0 auto; }
    .input-panel, .output-panel { width: 100%; flex: none; }
    .card { padding: 12px 12px; flex: 1 0 auto; }
    .output-card { min-height: 280px; }
    .form-group { margin-bottom: 7px; }
    .search-input { padding: 9px 12px; font-size: 0.9rem; }
    .custom-select select { padding: 8px 28px 8px 10px; font-size: 0.85rem; }
    .try-examples { flex-wrap: nowrap; gap: 4px; overflow-x: auto; }
    .example-chip { flex: 1 0 auto; text-align: center; padding: 4px 8px; font-size: 0.74rem; }
    .generate-btn { padding: 11px 16px; font-size: 0.95rem; }
    .output-panel.visible { display: flex; margin-top: 0; }
    .tab-btn { padding: 10px 8px; font-size: 0.8rem; gap: 4px; }
    .tab-content { padding: 10px 8px; }
    .caption-display { min-height: 80px; padding: 10px; font-size: 0.85rem; }
    .hashtag-chip { padding: 4px 9px; font-size: 0.73rem; }
    .btn-copy, .btn-copy-hashtags { padding: 8px 12px; font-size: 0.8rem; }
    .hashtag-actions { flex-direction: column; }
    .detected-subject-card { padding: 8px 10px; gap: 8px; }
    .app-footer { padding: 8px 12px 4px; font-size: 0.68rem; }
}
#btnGenerate {
    position: relative;
    z-index: 100;
    clear: both;
}
/* ============================================
   PREMIUM SEO ARTICLE SECTION (Final)
   ============================================ */
.seo-wrapper {
    width: 100%;
    background: #1f0a0a;
    border-top: 1px solid #3a1a1a;
    margin-top: 40px;
    padding: 50px 20px 60px;
    box-sizing: border-box;
}

.seo-container {
    max-width: 850px;
    margin: 0 auto;
    color: #c4a88c;
    line-height: 1.8;
    font-size: 0.95rem;
}

.seo-container h1 {
    text-align: center;
    color: #f5e6d3;
    font-size: 2rem;
    margin-bottom: 24px;
    font-family: 'Georgia', serif;
}

.seo-container h2 {
    color: #f5e6d3;
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 12px;
    border-bottom: 1px solid #3a1a1a;
    padding-bottom: 8px;
}

.seo-container h3 {
    color: #d4a843;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 8px;
    cursor: pointer;
    position: relative;
    padding-left: 20px;
}

.seo-container h3::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #d4a843;
    transition: transform 0.3s ease;
}

.seo-container h3.open::before {
    content: "▾";
}

.seo-container p {
    text-align: left;
    margin-bottom: 14px;
}

.seo-container ul {
    text-align: left;
    padding-left: 24px;
    margin-bottom: 16px;
}

.seo-container li {
    margin-bottom: 6px;
}

.seo-container a {
    color: #d4a843;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .seo-wrapper {
        padding: 30px 14px 40px;
    }
    .seo-container h1 {
        font-size: 1.6rem;
    }
    .seo-container h2 {
        font-size: 1.3rem;
    }
}
.seo-container h2 + p {
    background: rgba(196, 154, 74, 0.05);
    border-left: 3px solid var(--accent-gold);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 20px;
}
.seo-container ul li {
    padding: 6px 0;
    margin-bottom: 4px;
    line-height: 1.7;
}
.seo-container h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
}
/* ============================================
   PREMIUM SEO ARTICLE SECTION (Final Polish)
   ============================================ */
.seo-wrapper {
    width: 100%;
    background: #1f0a0a;
    border-top: 1px solid #3a1a1a;
    margin-top: 40px;
    padding: 50px 20px 60px;
    box-sizing: border-box;
}

.seo-container {
    max-width: 850px;
    margin: 0 auto;
    color: #c4a88c;
    line-height: 1.8;
    font-size: 0.95rem;
}

.seo-container h1 {
    text-align: center;
    color: #f5e6d3;
    font-size: 2rem;
    margin-bottom: 24px;
    font-family: 'Georgia', serif;
}

.seo-container h2 {
    color: #f5e6d3;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    border-bottom: 1px solid #3a1a1a;
    padding-bottom: 10px;
}

.seo-container h3 {
    color: #d4a843;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 8px;
    cursor: pointer;
    position: relative;
    padding-left: 20px;
}

.seo-container h3::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #d4a843;
    transition: transform 0.3s ease;
}

.seo-container h3.open::before {
    content: "▾";
}

.seo-container p {
    text-align: left;
    margin-bottom: 14px;
}

/* How to Use – Step Card Style */
.seo-container h2 + p {
    background: rgba(196, 154, 74, 0.05);
    border-left: 3px solid var(--accent-gold);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 20px;
}

.seo-container ul {
    text-align: left;
    padding-left: 24px;
    margin-bottom: 16px;
}

/* Features – आइकन और टेक्स्ट के बीच गैप */
.seo-container ul li {
    padding: 6px 0;
    margin-bottom: 4px;
    line-height: 1.7;
}

.seo-container a {
    color: #d4a843;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .seo-wrapper {
        padding: 30px 14px 40px;
    }
    .seo-container h1 {
        font-size: 1.6rem;
    }
    .seo-container h2 {
        font-size: 1.3rem;
    }
}