:root {
            /* --- Color Palette --- */
            --color-primary: #0071bc;       /* Blue */
            --color-primary-dark: #1d4ed8;
            --color-primary-light: #eff6ff;
            --color-text-main: #0f172a;     /* Dark Slate */
            --color-text-muted: #64748b;    /* Slate */
            --color-border: #e2e8f0;
            --color-bg-body: #f8fafc;
            --color-bg-card: #ffffff;
            
            /* Status Colors */
            --color-success: #10b981;
            --color-success-bg: #ecfdf5;
            --color-danger: #ef4444;
            --color-danger-bg: #fef2f2;
            --color-orange: #f97316;        /* Save App Button */
            --color-orange-hover: #ea580c;

            /* --- Logo Variables --- */
            --fpe-text: #202020;
            --fpe-dot: #ff0040;
            --fpe-glow-1: #a7a7a7;
            --fpe-glow-2: #000000;

            /* --- Dimensions --- */
            --nav-height: 72px;
            --radius-card: 24px;
            --radius-element: 12px;
            --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
            /* Using system font with heavy weight for Logo instead of Poppins */
            --font-logo: system-ui, -apple-system, sans-serif;
        }

        /* --- Reset --- */
        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body { margin: 0; font-family: var(--font-main); background: var(--color-bg-body); color: var(--color-text-main); display: flex; flex-direction: column; min-height: 100vh; }
        button, select, input { font-family: inherit; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; padding: 0; margin: 0; }

        /* --- Navigation Bar --- */
        .ir-navbar {
            position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
            background: white; border-bottom: 1px solid var(--color-border);
            z-index: 999; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
        }
        .ir-container {
            max-width: 1280px; margin: 0 auto; padding: 0 20px; height: 100%;
            display: flex; align-items: center; 
        }

        /* Logo Styles */
        .ir-logo-link {
            display: inline-flex; align-items: center; gap: 6px;
            font-family: var(--font-logo); padding: 5px; position: relative; z-index: 1000;
        }
        .fpe-text-wrapper {
            font-weight: 900; font-size: 39px; line-height: 1; color: var(--fpe-text);    font-family: system-ui;
            text-shadow: 0 4px 12px var(--fpe-glow-1); transition: all 0.3s ease; letter-spacing: -1.5px;
        }
        .ir-logo-link:hover .fpe-text-wrapper {
            text-shadow: 0 4px 15px var(--fpe-glow-1), 0 0 2px var(--fpe-text); transform: translateY(-1px);
        }
        .fpe-dot-anim { color: var(--fpe-dot); display: inline-block; animation: pulseDot 2s infinite ease-in-out; }
        @keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.8; } }

        /* Nav Menu (Desktop) - Using UL/LI for SEO */
        .ir-nav-list { 
            display: flex; align-items: center; 
            flex: 1; margin-left: 40px; 
        }
        
        .ir-menu-items { 
            display: flex; align-items: center; gap: 4px; 
            margin-right: auto; /* Push content to right */
        }
        
        .ir-item-wrapper { position: relative; }

.ir-nav-btn, nav a {
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center; 
}
        
        .ir-nav-btn, .ir-nav-link {
            display: flex; align-items: center; padding: 10px 14px;
            background: transparent; border: none; cursor: pointer;
            color: var(--color-text-main); border-radius: 8px;
            /* Removed Bold, using 500 for cleaner look */
            font-weight: 500; font-size: 15px; transition: background 0.2s;
        }
        .ir-nav-btn:hover, .ir-nav-link:hover { background-color: var(--color-border); }
        .ir-arrow-icon { margin-left: 6px; transition: transform 0.2s; }
        .ir-item-wrapper:hover .ir-arrow-icon { transform: rotate(180deg); }

        /* Dropdown */
        .ir-dropdown {
            position: absolute; top: 100%; left: 0; width: 220px;
            background: white; border: 1px solid var(--color-border);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 12px;
            padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
            transition: all 0.2s ease; z-index: 100;
        }
        .ir-item-wrapper:hover .ir-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
        .ir-dropdown a { display: block; padding: 10px 12px; font-size: 14px; color: var(--color-text-muted); border-radius: 8px; font-weight: 500; }
        .ir-dropdown a:hover { background-color: var(--color-primary-light); color: var(--color-primary); }

        /* Save App Button (Orange) */
        .ir-auth-desktop { display: flex; align-items: center; }
        
        .btn-save-app {
            background-color: #ffc233; color:#333;
            padding: 10px 24px; border-radius: 15px; border: none;
            font-weight: 700; font-size: 14px; cursor: pointer;
            transition: transform 0.2s, background 0.2s;
            display: flex; align-items: center; gap: 6px;
            box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
        }
        .btn-save-app:hover { background-color: #f5b00f; transform: translateY(-1px); }
        .btn-save-app svg { width: 18px; height: 18px; }

        /* Hamburger (Mobile) */
        .ir-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }

        /* Mobile Responsive Nav */
        @media (max-width: 1023px) {
            /* Fix: Mobile Nav not Fixed */
            .ir-navbar { position: relative; height: auto; min-height: var(--nav-height); }
            
            .ir-container { justify-content: space-between; padding: 10px 20px; }
            .ir-hamburger { display: block; }
            
            .ir-nav-list {
                position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
                background: white; flex-direction: column; align-items: flex-start; padding: 80px 20px 20px;
                transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; gap: 0;
                margin-left: 0; z-index: 998;
            }
            .ir-nav-list.active { transform: translateX(0); }
            
            /* Close button for mobile menu position */
            .ir-hamburger.active { position: fixed; top: 15px; right: 15px; z-index: 1000; }

            .ir-menu-items { flex-direction: column; width: 100%; gap: 0; margin-right: 0; }
            .ir-item-wrapper { width: 100%; border-bottom: 1px solid var(--color-border); }
            .ir-nav-btn, .ir-nav-link {         width: 100%;
        justify-content: space-between;
        padding: 18px 0;
        font-size: 1rem;
        color: var(--color-text-muted);
        font-weight: 600; }
            .ir-nav-btn:hover { background: none; }
            
            .ir-dropdown {
                position: static; width: 100%; opacity: 1; visibility: visible; transform: none;
                box-shadow: none; border: none; background: var(--color-bg-body);
                display: none; padding: 0; margin-bottom: 10px;
            }
            .ir-dropdown.show { display: block; }
            .ir-dropdown a { padding: 14px 16px; border-bottom: 1px solid #eee; }
            
            .ir-auth-desktop { display: none; }
            .ir-mobile-auth { width: 100%; margin-top: 30px; display: block; }
            .btn-save-app { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }
        }
        @media (min-width: 1024px) { .ir-mobile-only { display: none; } }

        /* --- Modal (Save App Dialog) --- */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.6); z-index: 2000;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: 0.3s;
            backdrop-filter: blur(4px);
        }
        .modal-overlay.open { opacity: 1; visibility: visible; }
        .modal-card {
            background: white; padding: 30px; border-radius: 24px; max-width: 400px; width: 90%;
            text-align: center; transform: scale(0.9); transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }
        .modal-overlay.open .modal-card { transform: scale(1); }
        .modal-icon { width: 60px; height: 60px; background: var(--color-primary-light); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
        .modal-title { font-size: 20px; font-weight: 800; margin: 0 0 10px; color: var(--color-text-main); }
        .modal-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 25px; }
        .modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; cursor: pointer; color: #666666; padding: 5px; }
		.tool-content h2{font-size:1.5rem;}
        
        /* --- Toast Notification --- */
        #toast-container { position: fixed; top: 90px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
        .toast {
            background: white; padding: 12px 20px; border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-left: 4px solid var(--color-primary);
            font-size: 13px; font-weight: 700; animation: slideIn 0.3s ease;
            min-width: 250px; display: flex; align-items: center; gap: 10px;
        }
        @keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
		
		

        .pfe-main {
            padding-top: 80px; padding-bottom: 60px;
            min-height: 100vh; display: flex; flex-direction: column; align-items: center;
        }
		.pfe-main img{ height:auto;}
        .container { width: 100%; max-width: 1300px; padding: 0 20px; box-sizing: border-box; }

        /* Header */
        .page-header { text-align: center; margin-bottom: 40px; }
        .page-title { font-size: 2.5rem; font-weight: 800; margin: 15px 0 12px; letter-spacing: -0.03em; color: var(--color-text-main); }
        .page-title span { color: var(--color-primary); }
        .page-desc { font-size: 1rem; color: var(--color-text-muted); margin: 0 auto; max-width: 600px; line-height: 1.6; }

        /* Upload State */
        .upload-card {
            background: var(--color-bg-card); border-radius: var(--radius-card);
            box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
            padding: 80px 40px; 
            text-align: center; max-width: 900px; margin: 0 auto;
        }
        .dropzone {
            border: 2px dashed #cbd5e1; border-radius: 20px;
            background: #fdfdfd; padding: 100px 40px; 
            cursor: pointer; transition: 0.2s;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
        }
        .dropzone:hover, .dropzone.active { border-color: var(--color-primary); background: var(--color-primary-light); }
        .drop-icon { width: 72px; height: 72px; color: var(--color-primary); margin-bottom: 24px; }
        .drop-title { font-size: 1.6rem; font-weight: 800; color: var(--color-text-main); margin: 0 0 12px; }
        .drop-subtitle { font-size: 1rem; font-weight: 600; color: #666666; }

        /* Editor Layout */
        .editor-layout {
            display: grid; grid-template-columns: 1fr 360px; gap: 30px;
            align-items: start; height: calc(100vh - 180px); min-height: 650px;
        }

        /* --- Left: Bulk Grid Workspace --- */
        .workspace-area {
            display: flex; flex-direction: column; height: 100%;
            background: var(--color-bg-card); border-radius: var(--radius-card);
            border: 1px solid transparent; 
            border-color: var(--color-border);
            box-shadow: var(--shadow-card);
            padding: 20px; overflow: hidden;
            transition: all 0.2s;
        }
        .workspace-area.active { border-color: var(--color-primary); background: var(--color-primary-light); }
        
        .workspace-header {
            display: flex; justify-content: space-between; align-items: center;
            padding-bottom: 15px; border-bottom: 1px solid var(--color-border); margin-bottom: 15px;
            flex-shrink: 0; 
        }
        
        .file-count { font-size: 14px; font-weight: 700; color: var(--color-text-main); }
        .file-count span { color: var(--color-primary); }
        
        .header-actions { display: flex; gap: 15px; }
        .btn-text { font-size: 13px; font-weight: 600; cursor: pointer; border: none; background: none; transition: 0.2s; }
        .btn-add { color: var(--color-primary); }
        .btn-add:hover { text-decoration: underline; }
        .btn-clear { color: #ef4444; }
        .btn-clear:hover { text-decoration: underline; }

        /* Grid */
        .batch-grid-container {
            flex: 1; overflow-y: auto; padding: 5px;
            scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent;
        }
        .batch-grid-container::-webkit-scrollbar { width: 6px; }
        .batch-grid-container::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 3px; }

        .batch-grid {
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); 
            gap: 12px;
        }

        .batch-item {
            background: white; border: 1px solid var(--color-border); border-radius: 10px;
            padding: 8px; position: relative; transition: 0.2s;
            display: flex; flex-direction: column; align-items: center;
        }
        .batch-item:hover { border-color: var(--color-primary); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        
        .thumb-wrapper {
            width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; 
            background: #f1f5f9; display: flex; align-items: center; justify-content: center;
            margin-bottom: 8px;
        }
        .thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; }
        .file-type-icon { font-size: 10px; font-weight: 800; color: #cbd5e1; text-transform: uppercase; }
        
        .file-name {
            font-size: 11px; font-weight: 500; color: var(--color-text-main);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; width: 100%; text-align: center;
        }
        .file-size { font-size: 10px; color: #666666; }

        .btn-remove-item {
            position: absolute; top: -6px; right: -6px;
             height: 22px; background: white; border: 1px solid #fee2e2;
            color: #ef4444; border-radius: 50%; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: 0.2s; z-index: 2;
        }
        .btn-remove-item:hover { background: #ef4444; color: white; transform: scale(1.1); }

        /* Progress */
        #progressArea { margin-top: 15px; flex-shrink: 0; }
        .progress-bar { height: 8px; background: #e2e8f0; border-radius: 10px; overflow: hidden; margin-top: 6px; }
        .progress-fill { height: 100%; background: #10b981; width: 0%; transition: width 0.2s; }

        /* --- Right: Controls --- */
        .sidebar-area {
            background: var(--color-bg-card); border-radius: var(--radius-card);
            border: 1px solid var(--color-border); box-shadow: var(--shadow-card);
            display: flex; flex-direction: column; height: 100%; overflow: hidden;
        }

        .tabs-header { display: flex; border-bottom: 1px solid var(--color-border); background: #f8fafc; }
        .tab-btn {
            flex: 1; padding: 16px; text-align: center; font-size: 0.9rem; font-weight: 600;
            color: var(--color-text-muted); cursor: pointer; transition: 0.2s;
            border-bottom: 2px solid transparent;
        }
        .tab-btn:hover { background: white; color: var(--color-primary); }
        .tab-btn.active { background: white; color: var(--color-primary); border-bottom-color: var(--color-primary); }

        .controls-scroll { padding: 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 24px; }
        .control-group { display: flex; flex-direction: column; gap: 10px; }
        .label-xs { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; display: flex; justify-content: space-between; }
        
        .input-std {
            width: 100%; padding: 12px; border: 1px solid var(--color-border); border-radius: 8px;
            font-size: 14px; font-weight: 500; outline: none; transition: 0.2s; background: #fff; color: var(--color-text-main);
            box-sizing: border-box;
        }
        .input-std:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }

        .mode-pills { display: flex; background: #f1f5f9; padding: 4px; border-radius: 8px; gap: 4px; margin-bottom: 10px; }
        .mode-btn { 
            flex: 1; text-align: center; padding: 8px; font-size: 12px; font-weight: 600; 
            color: var(--color-text-muted); border-radius: 6px; cursor: pointer; transition: 0.2s; 
        }
        .mode-btn.active { background: white; color: var(--color-primary); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

        .checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--color-text-main); cursor: pointer; }
        .checkbox-label input { accent-color: var(--color-primary); width: 16px; height: 16px; }

        .actions-footer {
            padding: 24px; border-top: 1px solid var(--color-border); background: white;
            display: flex; flex-direction: column; gap: 12px;
        }
        .btn-primary {
            background: var(--color-text-main); color: white; border: none; padding: 16px;
            border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.2s;
            width: 100%;
        }
        .btn-primary:hover { background: #000; transform: translateY(-2px); }
        
        /* Download State */
        .download-container {
            text-align: center; max-width: 600px; margin: 40px auto; padding: 40px;
            background: white; border-radius: 20px; box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
        }
        .success-icon { width: 80px; height: 80px; color: #10b981; margin-bottom: 20px; }
        .btn-download-action {
            background: #10b981; color: white; padding: 18px 30px; font-size: 18px;
            border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
            font-weight: 700; margin-top: 20px; transition: 0.2s; border: none; cursor: pointer;
        }
        .btn-download-action:hover { background: #059669; transform: scale(1.02); }
        .btn-restart { margin-top: 20px; color: var(--color-text-muted); background: none; border: none; text-decoration: underline; cursor: pointer; }

        .hidden { display: none !important; }
		.mb-2{margin-bottom: 0.5rem;}
		.mt-2{margin-top: 0.5rem;}


		/* ---Tool Content Section  --- */
        .tool-content {
            margin-top: 80px; text-align: left;
            padding-bottom: 60px;
            font-family: 'Open Sans', 'Segoe UI', sans-serif;
			padding: 60px 0;
			max-width: 800px;
			margin: 0 auto;
        }

        .tool-content h2 { 
            font-size: 1.5rem; margin-bottom: 30px; 
            color: #112e51; /* US Gov Navy Blue */
            border-bottom: 4px solid #0071bc; padding-bottom: 10px;
			margin: 0 auto;
        }
        .tool-section {
            background: white; padding: 30px; border-radius: 8px;
            border: 1px solid #e2e8f0; margin-bottom: 30px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }
        .tool-section h3 { 
            font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; 
            color: #112e51; 
        }
        .tool-section p, .tool-section li { 
            font-size: 1rem; line-height: 1.7; color: #475569; margin-bottom: 12px; 
        }
		
		.tool-content img { max-width:-webkit-fill-available ;}
        
        /* Styled List */
        .tool-content { list-style: none;  }
        .tool-content li {
            position: relative; padding-left: 25px; margin-bottom: 10px;
        }
        .tool-content li::before {
            content: '✓'; color: #2563eb; font-weight: bold; position: absolute; left: 0; top: 0;
        }
        .tool-content li.no::before {
            content: '✕'; color: #ef4444;
        }

        /* Callout Box */
        .callout {
            border-left: 5px solid #0071bc; /* Link Blue */
            background: #f0f7fb; padding: 20px; margin: 20px 0;
            border-radius: 0 8px 8px 0;
			font-size: small;
        }
        .callout h4 { margin: 0 0 10px; color: #112e51; font-weight: 700; }
        .callout p { margin: 0; font-size: 0.95rem; }

        .hidden { display: none !important; }

	   
        /* Download State */
        .download-container {
            text-align: center; max-width: 600px; margin: 40px auto; padding: 40px;
            background: white; border-radius: 20px; box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
        }
        .success-icon { width: 80px; height: 80px; color: #10b981; margin-bottom: 20px; }
        .btn-download-action {
            background: #10b981; color: white; padding: 18px 30px; font-size: 18px;
            border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
            font-weight: 700; margin-top: 20px; transition: 0.2s; border: none; cursor: pointer;
        }
        .btn-download-action:hover { background: #059669; transform: scale(1.02); }
        .btn-restart { margin-top: 20px; color: var(--color-text-muted); background: none; border: none; text-decoration: underline; cursor: pointer; }

	    /* Mobile */
        @media (max-width: 1023px) {
			.container{padding:0;}
			.workspace-area{border-radius: 0;}
			.page-desc{padding:0 20px;}

            .pfe-main { padding-top: 20px; }
            .editor-layout { display: flex; flex-direction: column; height: auto; gap: 0; }
            .cropper-wrapper { height: 400px; }
            .sidebar-area { width: 100%; height: auto; border-radius: 0; border: none; box-shadow: none; position: static; max-height: none; }
			.page-title {font-size: 1.5rem;}
			.tool-content {padding: 20px;}
			.sticky-header {position: -webkit-sticky; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);}
		}






@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.site-content-wrapper {
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --txt-primary: #1f2937;
    --txt-secondary: #4b5563;
    --bg-surface: #ffffff;
    --bg-offset: #f9fafb;
    --line-color: #e5e7eb;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--txt-primary);
    line-height: 1.5; /* Slightly tighter line height */
    
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 16px; /* Base size */
}

/* Typography Constraints: Max 1.5rem */
.site-content-wrapper h2 {
    font-size: 1.5rem; /* Strict limit */
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 1.25rem;
    text-align: center;
    letter-spacing: -0.025em;
}

.site-content-wrapper h3 {
    font-size: 1.25rem; /* Strict limit */
    font-weight: 600;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.site-content-wrapper p,
.site-content-wrapper li {
    font-size: 1rem; /* Standard readable size */
    color: var(--txt-secondary);
    margin-bottom: 1rem;
}

/* Lists */
.site-content-wrapper ul {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.site-content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Lead Text */
.site-content-wrapper .lead-text {
    font-size: 1.125rem; /* Slightly larger than body, but small enough */
    text-align: center;
    max-width: 750px;
    margin: 0 auto 2rem auto;
}

.site-content-wrapper .section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    font-size: 1rem;
}

/* Section Spacing */
.content-block {
    padding: 40px 0; /* Reduced padding for compact feel */
    border-bottom: 1px solid var(--line-color);
}

.content-block:last-child {
    border-bottom: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid var(--line-color);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.feature-item h3 {
    margin-top: 0;
    font-size: 1.125rem; /* Smaller header for cards */
}

/* Steps List */
.steps-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    background: var(--bg-offset);
    padding: 1.25rem;
    border-radius: 8px;
}

.step-badge {
    background: var(--accent-color);
    color: white;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 2px; /* Visual alignment */
}

.step-text strong {
    display: block;
    color: var(--txt-primary);
    margin-bottom: 0.25rem;
}

.step-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Table */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--line-color);
    margin-top: 1.5rem;
}

.generic-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 500px;
    font-size: 0.95rem;
}

.generic-table th, 
.generic-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line-color);
}

.generic-table th {
    background-color: var(--bg-offset);
    font-weight: 600;
    color: var(--txt-primary);
}

.generic-table tr:last-child td {
    border-bottom: none;
}

/* FAQ */
.faq-group {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--line-color);
}

.faq-item summary {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--bg-offset);
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
    font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--txt-secondary);
}

.faq-item[open] summary::after { content: '-'; }

.faq-item p {
    padding: 1rem;
    margin: 0;
    border-top: 1px solid var(--line-color);
    font-size: 0.95rem;
}

/* CTA */
.cta-box {
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    padding: 2.5rem 1rem !important;
    margin: 30px 0;
}

.primary-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.primary-btn:hover {
    background-color: var(--accent-hover);
}

/* Mobile Tweaks */
@media (max-width: 600px) {
    .site-content-wrapper { padding: 0 16px; }
    .site-content-wrapper h2 { font-size: 1.35rem; }
    .site-content-wrapper h3 { font-size: 1.15rem; }
    .feature-item { padding: 1.25rem; }
}