/* ============================
   Watermark Studio — Styles
   ============================ */

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

:root {
    --bg-dark: #0a0a1a;
    --bg-card: rgba(22, 22, 42, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.5);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #a855f7;
    --accent-light: #c084fc;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-w: 340px;
    --topbar-h: 56px;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        linear-gradient(rgba(10, 10, 26, 0.6), rgba(10, 10, 26, 0.6)),
        url('https://opinohive.com/wp-content/uploads/2026/02/watermark-tool-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Screens ---------- */
.screen {
    display: none;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* ============================
   LANDING SCREEN
   ============================ */
#landing {
    min-height: 100vh;
    background: transparent;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    padding: 16px 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
}

/* Hero */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Drop Zone */
.drop-zone {
    width: 100%;
    max-width: 620px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 48px 24px;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    color: #ffffff;
    margin-bottom: 8px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.drop-zone h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.drop-zone p {
    color: #ffffff;
}

.file-types {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 4px;
    opacity: 0.85;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 720px;
    margin-top: 56px;
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================
   EDITOR SCREEN
   ============================ */
#editor {
    height: 850px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.editor-topbar {
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: rgba(10, 10, 26, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    z-index: 10;
    flex-shrink: 0;
}

.topbar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.topbar-actions {
    display: flex;
    gap: 8px;
}

.topbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--text);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all var(--transition);
}

.topbar-btn:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.topbar-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    font-weight: 600;
    color: #fff;
}

.topbar-btn.primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.topbar-btn.secondary {
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
}

/* Editor Body */
.editor-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ---------- Sidebar ---------- */
.sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: rgba(15, 15, 30, 0.95);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 0;
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Tabs */
.tab-bar {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    position: relative;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: transparent;
    border-radius: 2px;
    transition: all var(--transition);
}

.tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.tab.active {
    color: var(--primary-light);
}

.tab.active::after {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    left: 10%;
    right: 10%;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 16px;
}

.tab-content.active {
    display: block;
}

/* Controls */
.control-group {
    margin-bottom: 16px;
}

.control-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.control-row {
    display: flex;
    gap: 12px;
}

.control-group.half {
    flex: 1;
}

/* Text Input */
.text-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg-glass);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition);
    outline: none;
}

.text-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Select */
.select-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: rgba(22, 22, 42, 0.9);
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.select-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.select-input option {
    background: #1a1a2e;
    color: var(--text);
}

/* Slider */
.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    transition: background var(--transition);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.6);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.slider-val {
    min-width: 36px;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

/* Color Picker */
.color-picker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-input {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    background: transparent;
    padding: 2px;
    transition: border-color var(--transition);
}

.color-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.color-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-input::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.hex-input {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg-glass);
    color: var(--text);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.82rem;
    outline: none;
    transition: all var(--transition);
}

.hex-input:focus {
    border-color: var(--border-focus);
}

/* Toggle Buttons (Bold, Italic, Stroke) */
.toggle-group {
    display: flex;
    gap: 4px;
}

.toggle-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg-glass);
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.toggle-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text);
}

.toggle-btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Position Grid */
.position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 140px;
}

.pos-btn {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg-glass);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.pos-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.pos-btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Toggle Switch */
.toggle-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    text-transform: none !important;
    font-size: 0.88rem !important;
    color: var(--text) !important;
    letter-spacing: 0 !important;
}

.switch {
    position: relative;
    width: 44px;
    height: 24px;
    display: inline-block;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    cursor: pointer;
    transition: background var(--transition);
}

.switch-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all var(--transition);
}

.switch input:checked+.switch-slider {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.switch input:checked+.switch-slider::before {
    transform: translateX(20px);
    background: #fff;
}

/* Tiling Options */
.tiling-options {
    padding: 0;
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.3s ease;
}

.tiling-options.hidden {
    max-height: 0;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 16px 0;
}

.shared-controls {
    padding: 0 16px 16px;
}

/* Logo Drop Zone */
.logo-drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-glass);
    text-align: center;
}

.logo-drop-zone:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.06);
}

.logo-preview-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.logo-preview-area p {
    font-size: 0.8rem;
}

.logo-preview-area img {
    max-width: 100%;
    max-height: 100px;
    border-radius: var(--radius-xs);
}

/* ============================
   CANVAS AREA
   ============================ */
.canvas-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        repeating-conic-gradient(rgba(255, 255, 255, 0.03) 0% 25%, transparent 0% 50%) 0 0 / 20px 20px;
}

.canvas-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

#previewCanvas {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    object-fit: contain;
}

/* Image Strip */
.image-strip {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    overflow-x: auto;
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 26, 0.9);
    min-height: 72px;
    align-items: center;
}

.image-strip::-webkit-scrollbar {
    height: 4px;
}

.image-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.strip-thumb {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xs);
    border: 2px solid transparent;
    object-fit: cover;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    opacity: 0.6;
}

/* ============================
   REMOVER TOOL STYLES
   ============================ */

/* Canvas Overlay & Selection */
.canvas-container {
    position: relative;
    display: inline-block;
    /* Fit tightly around canvas */
    line-height: 0;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    z-index: 10;
    /* Touch action none to prevent scrolling while selecting on mobile? */
    touch-action: none;
}

.selection-box {
    position: absolute;
    border: 2px dashed #ef4444;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    cursor: move;
    display: none;
    pointer-events: auto;
    z-index: 20;
}

.selection-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border: 1px solid white;
    border-radius: 50%;
    bottom: -5px;
    right: -5px;
    cursor: nwse-resize;
}

/* Remover Toolbar */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-glass);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    text-align: center;
    font-family: inherit;
    font-size: 0.85rem;
}

.tool-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.tool-btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

.tool-btn svg {
    width: 24px;
    height: 24px;
}

/* Link in Navbar */
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: auto;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary-light);
}

.strip-thumb:hover {
    opacity: 0.9;
    border-color: rgba(255, 255, 255, 0.2);
}

.strip-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* ============================
   MODAL
   ============================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: linear-gradient(160deg, rgba(22, 22, 42, 0.98), rgba(15, 15, 30, 0.98));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.modal-body {
    padding: 24px;
    text-align: center;
}

/* Progress */
.download-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.download-progress p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Download Ready */
.download-ready {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.download-ready.hidden {
    display: none;
}

.download-ready p {
    color: var(--text);
    font-size: 0.95rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
}

.download-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.download-links a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .editor-body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: unset;
        max-height: 45vh;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    :root {
        --sidebar-w: 100%;
    }

    .canvas-wrap {
        padding: 12px;
    }

    .topbar-btn span {
        display: none;
    }

    .topbar-title span {
        display: none;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .drop-zone {
        padding: 32px 16px;
    }

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

    .feature-card {
        padding: 16px 10px;
    }
}

/* ============================
   SEO CONTENT SECTIONS
   ============================ */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.content-section {
    margin-top: 64px;
}

.content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.content-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

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

.content-section a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

.content-section a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.step-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all var(--transition);
}

.step-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step-card h3 {
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
}

/* Two Column */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.two-col>div {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all var(--transition);
}

.two-col>div:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(99, 102, 241, 0.12);
}

/* Tips List */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.tip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all var(--transition);
}

.tip-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(99, 102, 241, 0.12);
}

.tip-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-item h4 {
    margin-bottom: 4px;
}

.tip-item p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* Features Detail Grid */
.features-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.fd-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all var(--transition);
}

.fd-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.fd-card h3 {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.fd-card p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

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

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

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.15);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
}

.faq-toggle:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

.faq-answer p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Disclaimer */
.disclaimer-section {
    padding: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.disclaimer-section h2 {
    font-size: 1.2rem;
}

.disclaimer-section p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Footer */
.site-footer {
    margin-top: 48px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

.footer-brand a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-brand a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Responsive content sections */
@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }

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

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

    .content-section h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 0 16px 40px;
    }

    .content-section {
        margin-top: 48px;
    }
}

/* Brand Logo */
.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.brand-logo.icon-sm {
    height: 24px;
}

.editor-topbar .brand-logo {
    height: 20px;
}