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

/* ══════════════════════════════════════════════════════════════
   ToolzMoolz — Design System  ·  Blue / White / Black
   Vibrant blue accents, clean white surfaces, near-black depth.
   (Neutral grays are shades of black, used only for text/borders.)
   ══════════════════════════════════════════════════════════════ */
:root {
    --bg:            #eef3fb;
    --surface:       #ffffff;
    --surface-2:     #f6f9ff;
    --primary:       #000000;   /* near-black — dark sections, headings, dark buttons */
    --primary-2:     #131d33;   /* lighter black for gradients */
    --muted:         #3f4652;
    --accent:        #2563eb;   /* the blue */
    --accent2:       #3b82f6;
    --accent3:       #60a5fa;
    --accent-soft:   #e8f0ff;   /* pale blue wash */
    --border:        #e3e9f2;
    --text:          #000000;
    --text-sub:      #1a1d24;
    --radius:        14px;
    --radius-lg:     22px;
    --shadow:        0 2px 10px rgba(37,99,235,0.06), 0 1px 2px rgba(11,18,32,0.05);
    --shadow-card:   0 8px 26px rgba(37,99,235,0.10), 0 2px 6px rgba(11,18,32,0.05);
    --shadow-hover:  0 22px 48px rgba(37,99,235,0.20), 0 6px 14px rgba(11,18,32,0.10);
    --grad:          linear-gradient(135deg, #2563eb, #3b82f6 55%, #60a5fa);
    --grad-dark:     linear-gradient(160deg, #131d33 0%, #0b1220 100%);
    --transition:    0.2s ease;
    --header-h:      64px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image:
        radial-gradient(circle at 12% -5%, rgba(37,99,235,0.06), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(96,165,250,0.07), transparent 30%);
    background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: rgba(37,99,235,0.18); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c7d3e6; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

/* ══════════════════════════════════════════════ HEADER ══ */
.site-header {
    background: rgba(11,18,32,0.92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 300;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 6px 24px rgba(11,18,32,0.28);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(96,165,250,0.14);
}
.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

/* Brand / Logo */
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: 30px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-wordmark {
    display: flex; align-items: center; gap: 9px;
    color: #fff; font-size: 18px; font-weight: 900; letter-spacing: -0.5px;
}
.brand-wordmark .bw-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--grad); font-size: 16px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.5);
}

.header-divider { width: 1px; height: 26px; background: rgba(255,255,255,0.14); margin-right: 22px; flex-shrink: 0; }

/* Tool Nav */
.tool-nav { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tool-nav::-webkit-scrollbar { display: none; }
.tool-nav a {
    flex-shrink: 0;
    color: rgba(255,255,255,0.86);
    font-size: 13px; font-weight: 600;
    padding: 7px 14px; border-radius: 8px;
    transition: all var(--transition); white-space: nowrap; position: relative;
}
.tool-nav a:hover { color: #fff; background: rgba(96,165,250,0.14); }
.tool-nav a.active { color: #fff; background: rgba(37,99,235,0.28); }
.tool-nav a.active::after {
    content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
    width: 22px; height: 2px; background: var(--accent3); border-radius: 2px;
}

/* Coffee btn */
.nav-coffee { margin-left: auto; flex-shrink: 0; padding-left: 16px; }
.nav-coffee a, .nav-coffee button {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700;
    padding: 8px 16px; border-radius: 22px; border: none; cursor: pointer;
    font-family: inherit; box-shadow: 0 4px 14px rgba(37,99,235,0.45);
    transition: all var(--transition); white-space: nowrap;
}
.nav-coffee button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37,99,235,0.55); }

/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.2s; }

/* ══════════════════════════════════════════════ HERO ══ */
.hero {
    background: var(--grad-dark);
    color: #fff;
    padding: 72px 32px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -120px; right: -100px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(37,99,235,0.45), transparent 68%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -120px; left: -100px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(96,165,250,0.30), transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(59,130,246,0.16); border: 1px solid rgba(96,165,250,0.4);
    color: #bfd6ff; font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; padding: 6px 15px; border-radius: 22px; margin-bottom: 22px;
    position: relative; z-index: 1;
}
.hero h1 {
    font-size: clamp(30px, 5.6vw, 58px); font-weight: 900; letter-spacing: -2px;
    line-height: 1.06; margin-bottom: 18px; color: #fff; position: relative; z-index: 1;
}
.hero h1 span {
    background: linear-gradient(120deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
    color: rgba(255,255,255,0.95); font-size: 16px; max-width: 500px;
    margin: 0 auto 30px; line-height: 1.65; position: relative; z-index: 1;
}
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-bottom: 34px; position: relative; z-index: 1; }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hero-stat .num {
    font-size: 26px; font-weight: 900; letter-spacing: -1px;
    background: linear-gradient(120deg, #fff, #bfd6ff);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .lbl { font-size: 10.5px; color: rgba(255,255,255,0.78); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.search-bar { max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }
.search-bar input {
    width: 100%; padding: 15px 20px 15px 48px; border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.10);
    color: #fff; font-size: 14.5px; font-family: inherit; outline: none;
    transition: all var(--transition); font-weight: 500;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.45); }
.search-bar input:focus { background: rgba(255,255,255,0.16); border-color: var(--accent3); box-shadow: 0 0 0 4px rgba(59,130,246,0.22); }
.search-bar .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: rgba(191,214,255,0.75); font-size: 18px; }

/* ══════════════════════════════════════════════ TOOLS GRID ══ */
.tools-section { padding: 52px 32px 60px; max-width: 1140px; margin: 0 auto; width: 100%; flex: 1; }
.section-label {
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
    color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 6px 2px 20px; max-width: 1000px; margin: 0 auto; }
.tool-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; cursor: pointer;
    transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-card); position: relative; overflow: hidden; color: var(--text);
}
.tool-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: var(--grad); opacity: 0; transition: opacity 0.25s;
}
.tool-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.05), transparent 60%);
    opacity: 0; transition: opacity 0.25s;
}
.tool-card:hover { border-color: rgba(37,99,235,0.4); box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.tool-card:hover::before, .tool-card:hover::after { opacity: 1; }
.tool-icon {
    width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.28); flex-shrink: 0;
    background: var(--grad);
}
/* On-palette blue-family variety for the icons */
.tool-card:nth-child(5n+1) .tool-icon { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.tool-card:nth-child(5n+2) .tool-icon { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.tool-card:nth-child(5n+3) .tool-icon { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.tool-card:nth-child(5n+4) .tool-icon { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.tool-card:nth-child(5n+5) .tool-icon { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.tool-card h3 { font-size: 15.5px; font-weight: 800; color: var(--text); line-height: 1.3; letter-spacing: -0.3px; }
.tool-card p { font-size: 13px; color: var(--text-sub); line-height: 1.55; font-weight: 500; }
.tool-card .tag {
    display: inline-flex; align-items: center; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent);
    background: var(--accent-soft); padding: 4px 10px; border-radius: 20px;
    align-self: flex-start; border: 1px solid rgba(37,99,235,0.16);
}
.tool-card .arrow { position: absolute; bottom: 20px; right: 18px; font-size: 16px; color: #c7d3e6; transition: all 0.2s; }
.tool-card:hover .arrow { color: var(--accent); transform: translateX(4px); }

/* ══════════════════════════════════════════════ WHY STRIP ══ */
.why-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 44px 32px; }
.why-strip-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.why-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.why-icon {
    width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; background: var(--accent-soft); border: 1px solid rgba(37,99,235,0.14);
}
.why-item h4 { font-size: 15px; font-weight: 800; color: var(--text); }
.why-item p { font-size: 13px; color: var(--text-sub); line-height: 1.55; }

/* ══════════════════════════════════════════════ TIP BANNER ══ */
.tip-banner { background: var(--grad-dark); padding: 52px 32px; text-align: center; position: relative; overflow: hidden; }
.tip-banner::before { content: ''; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(37,99,235,0.35), transparent 70%); }
.tip-banner h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: #fff; letter-spacing: -0.8px; margin-bottom: 12px; position: relative; z-index: 1; }
.tip-banner p { color: rgba(255,255,255,0.92); font-size: 15px; max-width: 540px; margin: 0 auto; line-height: 1.6; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════ SEO CONTENT ══ */
.seo-container h2 { color: var(--text) !important; letter-spacing: -0.6px; }
.seo-container p, .seo-container li { color: var(--text-sub); }
.seo-container strong { color: var(--text); }
.seo-faq-grid > div {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 22px; box-shadow: var(--shadow);
}
.seo-faq-grid h3 { color: var(--text) !important; }

/* ══════════════════════════════════════════════ FOOTER ══ */
.site-footer { background: var(--grad-dark); color: rgba(255,255,255,0.85); padding: 52px 32px 30px; border-top: 1px solid rgba(96,165,250,0.14); }
.footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .footer-logo { height: 34px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand .footer-wordmark { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 17px; font-weight: 900; letter-spacing: -0.4px; margin-bottom: 14px; }
.footer-brand .footer-wordmark span:first-child {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
    border-radius: 8px; background: var(--grad); font-size: 15px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.8); max-width: 280px; }
.footer-tools h5, .footer-contact h5, .footer-legal h5 { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--accent3); margin-bottom: 15px; }
.footer-tools ul, .footer-legal ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-tools ul li a, .footer-legal ul li a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.85); transition: color var(--transition); }
.footer-tools ul li a:hover, .footer-legal ul li a:hover { color: #fff; }
.footer-contact .contact-desc { font-size: 13px; color: rgba(255,255,255,0.78); margin-bottom: 16px; line-height: 1.6; }
.btn-email {
    display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.8); font-size: 12.5px; font-weight: 600;
    padding: 9px 16px; border-radius: 9px; transition: all var(--transition); width: 100%; margin-bottom: 10px;
    font-family: inherit; cursor: pointer; text-align: left;
}
.btn-email:hover { background: rgba(37,99,235,0.2); border-color: rgba(96,165,250,0.4); color: #fff; }
.btn-coffee-footer {
    display: inline-flex; align-items: center; gap: 7px; background: var(--grad); color: #fff;
    font-size: 12.5px; font-weight: 700; padding: 9px 16px; border-radius: 9px; border: none; cursor: pointer;
    font-family: inherit; width: 100%; box-shadow: 0 4px 16px rgba(37,99,235,0.4); transition: all var(--transition);
}
.btn-coffee-footer:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.55); transform: translateY(-1px); }
.footer-bottom { max-width: 1140px; margin: 0 auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.62); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.9); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ══════════════════════════════════════════════ TOOL PAGES ══ */
.tool-page { max-width: 980px; margin: 0 auto; padding: 32px 24px 52px; width: 100%; flex: 1; }
.tool-topbar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.tool-topbar-header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.tool-icon-sm { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff; flex-shrink: 0; box-shadow: 0 4px 12px rgba(37,99,235,0.28); background: var(--grad) !important; }
.tool-topbar-title h1 { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.tool-topbar-title p { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }

.action-chips-bar { display: flex; align-items: center; gap: 6px; padding: 12px 18px; overflow-x: auto; scrollbar-width: none; background: var(--surface-2); }
.action-chips-bar::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
    padding: 7px 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    cursor: pointer; font-family: inherit; transition: all 0.15s ease; box-shadow: 0 1px 4px rgba(11,18,32,0.06); white-space: nowrap;
}
.chip:hover { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.chip.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.chip-name { font-size: 11.5px; font-weight: 700; color: inherit; letter-spacing: 0.1px; }
.chip-preview { font-size: 9.5px; color: var(--muted); }
.chip:hover .chip-preview, .chip.active .chip-preview { color: rgba(255,255,255,0.7); }
.chip-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; margin: 0 4px; }

.converter-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; }
.panel-head { padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-sub); display: flex; align-items: center; justify-content: space-between; }
.panel-head .char-count { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0; text-transform: none; }
textarea { flex: 1; min-height: 200px; padding: 15px 16px; font-size: 14px; line-height: 1.75; border: none; outline: none; resize: none; font-family: inherit; color: var(--text); background: var(--surface); font-weight: 500; }
.panel-actions { display: flex; gap: 7px; padding: 10px 15px; background: var(--surface-2); border-top: 1px solid var(--border); }

.stats-row { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item .val { font-size: 20px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-item .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 15px; font-family: inherit; font-size: 12px; font-weight: 700; border-radius: 8px; cursor: pointer; transition: all 0.15s ease; border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: 0 1px 6px rgba(11,18,32,0.06); }
.btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px rgba(37,99,235,0.32); }
.btn-accent:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-ghost { padding: 7px 13px; font-size: 12px; font-weight: 600; font-family: inherit; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text-sub); cursor: pointer; transition: all 0.15s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-copy { padding: 7px 15px; font-size: 12px; font-weight: 700; font-family: inherit; background: var(--accent); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: all 0.15s ease; display: flex; align-items: center; gap: 5px; }
.btn-copy:hover { background: #1d4ed8; }
.btn-copy.copied { background: #16a34a; }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--primary); color: #fff; padding: 12px 22px; border-radius: 11px; font-size: 13px; font-weight: 700; box-shadow: 0 16px 44px rgba(11,18,32,0.34); opacity: 0; transform: translateY(10px); transition: all 0.22s ease; z-index: 999; pointer-events: none; border: 1px solid rgba(96,165,250,0.25); }
.toast.show { opacity: 1; transform: translateY(0); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,18,32,0.82); backdrop-filter: blur(6px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.24s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: #fff; color: #000; border-radius: var(--radius-lg); padding: 36px 30px; max-width: 420px; width: 100%; box-shadow: 0 36px 90px rgba(11,18,32,0.45); position: relative; transform: translateY(20px) scale(0.97); transition: all 0.24s ease; border-top: 4px solid var(--accent); }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 14px; right: 16px; background: #eef2f8; border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; cursor: pointer; color: #333; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.modal-close:hover { background: #e0e6f0; color: #000; }
.modal-emoji { font-size: 40px; text-align: center; margin-bottom: 8px; }
.modal h3 { font-size: 21px; font-weight: 900; color: #000; text-align: center; letter-spacing: -0.5px; margin-bottom: 6px; }
.modal .modal-sub { font-size: 13px; color: #495569; text-align: center; margin-bottom: 22px; line-height: 1.6; }
.tip-amounts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.tip-amount { padding: 11px 6px; border: 2px solid #dbe3ef; border-radius: 11px; background: #f6f9ff; cursor: pointer; text-align: center; transition: all 0.15s; font-family: inherit; }
.tip-amount:hover { border-color: var(--accent); background: var(--accent-soft); }
.tip-amount.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.tip-amount .tip-price { display: block; font-size: 16px; font-weight: 900; color: #000; }
.tip-amount.active .tip-price { color: #fff; }
.tip-amount .tip-label { display: block; font-size: 9.5px; font-weight: 700; color: #495569; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.tip-amount.active .tip-label { color: rgba(255,255,255,0.85); }
.custom-amount { width: 100%; padding: 10px 14px; border: 2px solid #dbe3ef; border-radius: 11px; font-family: inherit; font-size: 13.5px; font-weight: 700; color: #000; background: #f6f9ff; outline: none; margin-bottom: 12px; transition: border-color 0.15s; }
.custom-amount:focus { border-color: var(--accent); }
.pay-channels { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pay-channel { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid #dbe3ef; border-radius: 11px; background: #f6f9ff; text-decoration: none; transition: all 0.15s ease; cursor: pointer; }
.pay-channel:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateX(3px); }
.ch-icon { font-size: 19px; width: 30px; text-align: center; flex-shrink: 0; }
.pay-channel div { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ch-name { font-size: 13px; font-weight: 800; color: #000; }
.ch-desc { font-size: 10.5px; color: #495569; font-weight: 600; }
.ch-arrow { font-size: 14px; color: #c7d3e6; transition: color 0.15s; }
.pay-channel:hover .ch-arrow, .pay-channel:hover .ch-name { color: var(--accent); }
.tip-note { font-size: 11px; color: #495569; text-align: center; margin-top: 10px; line-height: 1.5; font-weight: 500; }

/* ══════════════════════════════════════════════ RESPONSIVE ══ */
@media(max-width: 980px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .tool-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 768px) {
    :root { --header-h: 58px; }
    body { font-size: 14.5px; }
    .header-inner { padding: 0 16px; }
    .brand { margin-right: 0; }
    .header-divider { display: none; }
    .tool-nav { display: none; }
    .tool-nav.open {
        display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
        background: var(--primary); padding: 12px; gap: 4px; border-top: 1px solid rgba(96,165,250,0.14);
        box-shadow: 0 16px 40px rgba(11,18,32,0.5); z-index: 299;
    }
    .tool-nav.open a { padding: 11px 15px; border-radius: 9px; font-size: 14px; }
    .nav-coffee { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 44px 20px 40px; }
    .hero-stats { gap: 24px; }
    .tools-section { padding: 34px 16px 44px; }
    .tool-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tool-card { padding: 20px 16px; }
    .why-strip { padding: 34px 20px; }
    .tip-banner { padding: 42px 20px; }
    .tip-amounts { grid-template-columns: repeat(2,1fr); }
    .modal { padding: 28px 22px; }
    .site-footer { padding: 42px 20px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
    .tool-page { padding: 20px 14px 40px; }
    .converter-wrap { grid-template-columns: 1fr; }
    textarea { min-height: 150px; }
    .stats-row { flex-wrap: wrap; }
    .stat-item { min-width: 33%; }
}
@media(max-width: 480px) {
    .tool-grid { grid-template-columns: 1fr; }
    .hero h1 { letter-spacing: -1px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .seo-faq-grid { grid-template-columns: 1fr !important; }
    .action-chips-bar { padding: 10px 12px; gap: 5px; }
    .chip { padding: 6px 11px; }
    .chip-preview { display: none; }
}
