/* ============================================================
   Email Validator – Glassmorphism UI
   Palette: White · Ice Blue · Soft Lavender
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%);
    overflow-x: hidden;
    color: #e8f0fe;
}

/* ── Animated Background Blobs ── */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: blobFloat 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
.blob-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #a8d8f0 0%, #6ab4e8 60%, transparent 100%);
    top: -120px; left: -100px;
    animation-delay: 0s;
}
.blob-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #c9b8f5 0%, #9b7fe8 60%, transparent 100%);
    bottom: -80px; right: -80px;
    animation-delay: -4s;
}
.blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #b8e8f5 0%, #7ec8e3 60%, transparent 100%);
    top: 50%; left: 55%;
    animation-delay: -8s;
}
@keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -30px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Main Wrapper ── */
.main-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

/* ── Glass Card ── */
.glass-card {
    width: 100%;
    max-width: 640px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 1px 0 rgba(255,255,255,0.2) inset;
    overflow: hidden;
    animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header ── */
.glass-header {
    padding: 40px 40px 32px;
    text-align: center;
    background: linear-gradient(160deg,
        rgba(168, 216, 240, 0.15) 0%,
        rgba(155, 127, 232, 0.12) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: inline-block;
    background: linear-gradient(135deg, #a8d8f0, #c9b8f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(168,216,240,0.5));
}
.glass-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #e8f4fd 0%, #c9b8f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}
.header-sub {
    font-size: 0.88rem;
    color: rgba(200, 220, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ── Tab Navigation ── */
.tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tab-btn {
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(200, 220, 255, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.2px;
}
.tab-btn:hover {
    color: rgba(200, 220, 255, 0.75);
    background: rgba(255,255,255,0.03);
}
.tab-btn.active {
    color: #a8d8f0;
    background: rgba(168, 216, 240, 0.06);
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, #7ec8e3, #9b7fe8);
    border-radius: 2px;
}

/* ── Body ── */
.glass-body {
    padding: 36px 40px 40px;
}

/* ── Input Row ── */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Input Groups ── */
.input-group-glass {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-group-glass label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(168, 216, 240, 0.8);
}
.input-group-glass input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #e8f0fe;
    outline: none;
    transition: all 0.25s ease;
    width: 100%;
}
.input-group-glass input::placeholder {
    color: rgba(200, 220, 255, 0.3);
}
.input-group-glass input:focus {
    border-color: rgba(168, 216, 240, 0.6);
    background: rgba(255, 255, 255, 0.11);
    box-shadow:
        0 0 0 3px rgba(168, 216, 240, 0.12),
        0 4px 16px rgba(168, 216, 240, 0.08);
}

/* ── Domain Input ── */
.domain-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.domain-at {
    position: absolute;
    left: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(168, 216, 240, 0.5);
    pointer-events: none;
    z-index: 1;
}
.domain-input-wrapper input {
    padding-left: 34px;
}

/* ── Buttons ── */
.btn-group-glass {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.btn-primary-glass,
.btn-secondary-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}
.btn-primary-glass {
    background: linear-gradient(135deg, #7ec8e3 0%, #9b7fe8 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(126, 200, 227, 0.35);
}
.btn-primary-glass:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(126, 200, 227, 0.5);
    filter: brightness(1.08);
}
.btn-primary-glass:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(200, 220, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary-glass:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
    border-color: rgba(168, 216, 240, 0.4);
}
.btn-secondary-glass:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-icon { font-size: 1rem; }
.w-100 { width: 100%; }

/* ── Progress ── */
.progress-section {
    margin-top: 28px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    animation: fadeSlideIn 0.4s ease both;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.progress-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(200,220,255,0.75);
    font-weight: 500;
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #7ec8e3;
    animation: pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}
.progress-pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: #a8d8f0;
}
.progress-track {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7ec8e3, #9b7fe8);
    border-radius: 99px;
    transition: width 0.4s ease;
    box-shadow: 0 0 12px rgba(126,200,227,0.6);
}
.progress-email {
    margin-top: 10px;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(200,220,255,0.4);
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bulk-progress-detail {
    margin-top: 10px;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(200,220,255,0.5);
}

/* ── Results ── */
.results-section {
    margin-top: 28px;
    animation: fadeSlideIn 0.4s ease both;
}
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.results-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(232,240,254,0.9);
    letter-spacing: -0.2px;
}
.results-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(168,216,240,0.12);
    border: 1px solid rgba(168,216,240,0.25);
    color: #a8d8f0;
}

/* ── Results Table ── */
.results-table-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 380px;
    overflow-y: auto;
}
.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.results-table thead th {
    background: rgba(255,255,255,0.08);
    padding: 11px 14px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(168,216,240,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
}
.results-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s ease;
}
.results-table tbody tr:last-child { border-bottom: none; }
.results-table tbody tr:hover {
    background: rgba(255,255,255,0.05);
}
.results-table td {
    padding: 10px 14px;
    vertical-align: middle;
    color: rgba(220,235,255,0.85);
}
.results-table td code {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #c9e8f5;
    background: rgba(255,255,255,0.06);
    padding: 2px 7px;
    border-radius: 6px;
}
.results-table td strong {
    color: rgba(232,240,254,0.9);
    font-weight: 600;
}

/* ── Status Badges ── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-exists {
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
}
.badge-catchall {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}
.badge-unverifiable {
    background: rgba(168, 216, 240, 0.1);
    border: 1px solid rgba(168, 216, 240, 0.25);
    color: #a8d8f0;
}
.badge-invalid {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fca5a5;
}

/* ── Email Chip List (Generated) ── */
.email-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px 2px;
}
.email-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(168,216,240,0.2);
    border-radius: 99px;
    font-size: 0.78rem;
    font-family: 'Courier New', monospace;
    color: #c9e8f5;
    transition: all 0.2s ease;
    cursor: default;
}
.email-chip:hover {
    background: rgba(168,216,240,0.12);
    border-color: rgba(168,216,240,0.4);
    transform: translateY(-1px);
}

/* ── Action Buttons ── */
.action-row {
    display: flex;
    gap: 12px;
}
.btn-download, .btn-reset {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.btn-download {
    background: linear-gradient(135deg, rgba(52,211,153,0.2), rgba(52,211,153,0.1));
    border: 1px solid rgba(52,211,153,0.35);
    color: #6ee7b7;
}
.btn-download:hover {
    background: linear-gradient(135deg, rgba(52,211,153,0.3), rgba(52,211,153,0.15));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52,211,153,0.2);
}
.btn-reset {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(200,220,255,0.7);
}
.btn-reset:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ── Found Banner ── */
.found-banner {
    margin-top: 20px;
    padding: 18px 20px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 16px;
    text-align: center;
    animation: fadeSlideIn 0.4s ease both;
    color: #6ee7b7;
    font-size: 1rem;
    font-weight: 600;
}
.found-banner code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #a7f3d0;
    background: rgba(52,211,153,0.1);
    padding: 2px 8px;
    border-radius: 6px;
}
.found-banner small {
    color: rgba(167, 243, 208, 0.6);
    font-size: 0.78rem;
    font-weight: 400;
}

/* ── Animations ── */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(168,216,240,0.25);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(168,216,240,0.45);
}

/* ── Spinner ── */
.spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── How It Works ── */
.how-it-works {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.how-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: rgba(255,255,255,0.03);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(168, 216, 240, 0.7);
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}
.how-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(168, 216, 240, 0.95);
}
.how-chevron {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.how-chevron.open {
    transform: rotate(180deg);
}
.how-content {
    padding: 0 40px 24px;
    animation: fadeSlideIn 0.3s ease both;
}
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.how-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.how-step-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(126,200,227,0.2), rgba(155,127,232,0.2));
    border: 1px solid rgba(168,216,240,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8d8f0;
}
.how-step strong {
    font-size: 0.82rem;
    color: rgba(232,240,254,0.9);
    display: block;
    margin-bottom: 2px;
}
.how-step p {
    font-size: 0.76rem;
    color: rgba(200,220,255,0.5);
    line-height: 1.5;
    margin: 0;
}
.how-step code {
    font-size: 0.72rem;
    color: #c9e8f5;
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 4px;
}

/* ── Bulk CSV Upload ── */
.bulk-instructions {
    margin-bottom: 24px;
}
.bulk-instructions h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(232,240,254,0.9);
    margin-bottom: 8px;
}
.bulk-instructions > p {
    font-size: 0.84rem;
    color: rgba(200,220,255,0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* CSV Format Box */
.csv-format-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
}
.csv-format-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.csv-format-header strong {
    font-size: 0.82rem;
    color: rgba(232,240,254,0.85);
}
.btn-template {
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid rgba(168,216,240,0.3);
    background: rgba(168,216,240,0.08);
    color: #a8d8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-template:hover {
    background: rgba(168,216,240,0.15);
    border-color: rgba(168,216,240,0.5);
    transform: translateY(-1px);
}

/* CSV Preview */
.csv-preview {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
}
.csv-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}
.csv-row span {
    padding: 8px 12px;
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(200,220,255,0.6);
}
.csv-row span:last-child {
    border-right: none;
}
.csv-row:last-child span {
    border-bottom: none;
}
.csv-header-row span {
    background: rgba(168,216,240,0.1);
    color: #a8d8f0;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
}
.csv-row-fade span {
    color: rgba(200,220,255,0.25);
    text-align: center;
}

/* CSV Tips */
.csv-tips {
    font-size: 0.78rem;
    color: rgba(200,220,255,0.55);
    line-height: 1.6;
}
.csv-tips p {
    margin-bottom: 6px;
}
.csv-tips strong {
    color: rgba(232,240,254,0.8);
}
.csv-tips ul {
    padding-left: 18px;
    margin: 0;
}
.csv-tips li {
    margin-bottom: 4px;
}
.csv-tips code {
    font-size: 0.72rem;
    color: #c9e8f5;
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 4px;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed rgba(168,216,240,0.25);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}
.upload-zone:hover {
    border-color: rgba(168,216,240,0.45);
    background: rgba(168,216,240,0.04);
}
.upload-zone.drag-over {
    border-color: #7ec8e3;
    background: rgba(126,200,227,0.08);
    box-shadow: 0 0 24px rgba(126,200,227,0.15);
}
.upload-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.upload-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
}
.upload-text {
    font-size: 0.88rem;
    color: rgba(200,220,255,0.7);
    margin: 0;
}
.upload-text strong {
    color: rgba(232,240,254,0.9);
}
.upload-or {
    font-size: 0.75rem;
    color: rgba(200,220,255,0.35);
    margin: 0;
}
.btn-browse {
    padding: 8px 20px;
    border-radius: 10px;
    border: 1px solid rgba(168,216,240,0.3);
    background: rgba(168,216,240,0.08);
    color: #a8d8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-browse:hover {
    background: rgba(168,216,240,0.15);
    border-color: rgba(168,216,240,0.5);
    transform: translateY(-1px);
}

/* File Selected State */
.upload-zone-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.file-icon {
    font-size: 1.4rem;
}
.file-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #a8d8f0;
    font-family: 'Courier New', monospace;
}
.file-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(248,113,113,0.3);
    background: rgba(248,113,113,0.1);
    color: #fca5a5;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.file-remove:hover {
    background: rgba(248,113,113,0.2);
    border-color: rgba(248,113,113,0.5);
    transform: scale(1.1);
}

/* ── Cookie Info Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px;
    animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 1s;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner.hidden {
    animation: slideDown 0.4s ease both;
    pointer-events: none;
}
@keyframes slideDown {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(100%); }
}
.cookie-banner-inner {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.cookie-banner-inner p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(200, 220, 255, 0.75);
    line-height: 1.5;
    flex: 1;
}
.cookie-banner-inner p strong {
    color: rgba(232, 240, 254, 0.95);
}
.cookie-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #7ec8e3 0%, #9b7fe8 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(126, 200, 227, 0.4);
    filter: brightness(1.08);
}

/* ── Footer ── */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 16px 28px;
    font-size: 0.75rem;
    color: rgba(200, 220, 255, 0.35);
}
.site-footer a {
    color: rgba(168, 216, 240, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover {
    color: rgba(168, 216, 240, 0.9);
    text-decoration: underline;
}
.footer-sep {
    margin: 0 8px;
    color: rgba(200, 220, 255, 0.2);
}

/* ── Privacy Page ── */
.privacy-wrapper {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 60px;
}
.privacy-card {
    max-width: 720px;
}
.privacy-body {
    padding: 36px 40px 48px;
}
.privacy-section {
    margin-bottom: 28px;
}
.privacy-section:last-child {
    margin-bottom: 0;
}
.privacy-section h2 {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(232, 240, 254, 0.9);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.privacy-section p,
.privacy-section li {
    font-size: 0.84rem;
    color: rgba(200, 220, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 8px;
}
.privacy-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.privacy-section li {
    margin-bottom: 6px;
}
.privacy-section a {
    color: #a8d8f0;
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 216, 240, 0.3);
    transition: all 0.2s ease;
}
.privacy-section a:hover {
    color: #c9e8f5;
    border-bottom-color: rgba(168, 216, 240, 0.7);
}
.privacy-section code {
    font-size: 0.78rem;
    color: #c9e8f5;
    background: rgba(255,255,255,0.06);
    padding: 1px 6px;
    border-radius: 4px;
}
.privacy-section em {
    color: rgba(200, 220, 255, 0.8);
}
.privacy-section strong {
    color: rgba(232, 240, 254, 0.85);
}
.back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(168, 216, 240, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.back-link:hover {
    color: rgba(168, 216, 240, 1);
}

/* Tech Steps (Privacy Page) */
.tech-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}
.tech-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}
.tech-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(126,200,227,0.2), rgba(155,127,232,0.2));
    border: 1px solid rgba(168,216,240,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8d8f0;
}
.tech-step-content strong {
    font-size: 0.84rem;
    color: rgba(232,240,254,0.9);
    display: block;
    margin-bottom: 4px;
}
.tech-step-content p {
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .glass-header { padding: 28px 24px 22px; }
    .glass-body   { padding: 24px 20px 28px; }
    .input-row    { grid-template-columns: 1fr; }
    .btn-group-glass { grid-template-columns: 1fr; }
    .action-row   { flex-direction: column; }
    .glass-header h1 { font-size: 1.6rem; }
    .how-toggle   { padding: 14px 24px; }
    .how-content  { padding: 0 24px 20px; }
    .privacy-body { padding: 24px 20px 32px; }
    .cookie-banner-inner { flex-direction: column; text-align: center; }
    .tab-btn { font-size: 0.78rem; padding: 12px 14px; }
    .csv-format-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    .csv-row span { padding: 6px 8px; font-size: 0.68rem; }
    .upload-zone { padding: 24px 16px; }
}
