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

:root {
    /* Dark Glassmorphism Palette */
    --primary: #6366f1; /* Indigo 500 */
    --primary-hover: #4f46e5;
    --secondary: #849eaf; /* Pink 500 */
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-card: rgba(30, 41, 59, 0.7); /* Slate 800 with alpha */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0);
    --glass-border: rgba(255, 255, 255, 0.1);
	
	--card-title: rgba(255, 255, 255);
	--text-light: rgba(255, 255, 255);
	--text-white: rgba(255, 255, 255);
	
    /* Spacing */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--switch-icon: url("svg/light.svg");
	--toggle-bg: #222e5d;
	
	
	--color-white-100: hsl(220, 10%, 100%);
	--color-white-200: hsl(220, 10%, 95%);
	--color-white-300: hsl(220, 10%, 85%);
	--color-white-400: hsl(220, 10%, 65%);
	--color-white-500: hsl(220, 10%, 50%);
	--color-black-100: hsl(240, 5%, 15%);
	--color-black-200: hsl(240, 5%, 12%);
	--color-black-300: hsl(240, 5%, 09%);
	--color-black-400: hsl(240, 5%, 06%);
	--color-black-500: hsl(240, 5%, 03%);
	--shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
	 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	--shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
	 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
	 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--link-color: #60a5fa;
}

html{
	overflow-x: hidden;
}

/* LIGHT MODE */
body.light-mode {
    --primary: #df271f; /* Indigo 500 */
    --primary-hover: #ff3128;
    --secondary: #849eaf;

    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.9);

    --text-main: #0f172a;
    --text-muted: #475569;
	--card-title: rgba(0,0,0);
	--text-light: rgba(0,0,0);

    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0);
    --glass-border: rgba(68, 98, 118, 0.4);
	--switch-icon: url("svg/dark.svg");
	--toggle-bg: #cacaca;
	--link-color: #2563eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
	transition: background 0.3s ease, color 0.3s ease;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 110%;
    background: radial-gradient(circle, rgba(68, 98, 118, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 112%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a{
	color: var(--link-color);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.btn-secondary{
	background: var(--secondary);
	color: white;
}

.preset-btn{
	color: var(--text-main) !important;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
	
	img{
		width: 100%;
		max-width: 215px;
		margin-top: 8px;
	}
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
	margin: 10px 0px;
}

.glass-card:hover {
    border-color: rgba(68, 98, 118, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Tool Grid */
.tool-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 1rem; 
}

/* Category Filter Pills */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-pill {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
    letter-spacing: 0.8px;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(68, 98, 118, 0.4);
	color: var(--text-white);
}

.mt-10{
	margin-top: 10px !important;
}

.headline-text, .niche-btn {
    color: var(--text-main) !important;
}

.tool-card { 
    padding: 1rem !important;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
	
	h4{
		margin: 0px !important;
	}
}

.related-tools{
	margin-top: 1rem !important;
}

.tool-card h3 { 
    font-size: 1rem; 
    margin-bottom: 0.75rem; 
    text-align: left;
    font-weight: 700;
	color: var(--card-title) !important;
	letter-spacing: 0.05em;
}

.tool-card p { 
    font-size: 0.9rem; 
    line-height: 1.5; 
    color: var(--text-muted); 
    opacity: 0.9; 
    text-align: left;
    flex-grow: 1;
    font-weight: 400;
}

.tool-card .category {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(68, 98, 118, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    width: fit-content;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: solid 1px var(--border-color);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* Forms & Inputs */
textarea, input, #sqlOutput, #curlOutput {
    width: 100%;
    background: var(--bg-dark) !important;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    color: var(--text-main) !important;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

input[type="checkbox"]{
	width:auto !important;
}

select {
    width: 100%;
    background: var(--bg-dark) !important;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
	color: var(--text-main) !important;
}

.crop-area{
	background: var(--bg-dark) !important;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

#output, .decode-box{
	background: var(--bg-dark) !important;
}

.label-badge{
	color: var(--text-white)
}

textarea:focus, input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(68, 98, 118, 0.1);
}

/* SEO Content Sections */
.seo-section {
    padding: 0rem 0 2rem 0;
}

.seo-section h2 {
    font-size: 2rem !important;
    margin-bottom: 2rem;
    text-align: center;
}

.radio-mode input[type="radio"] {
    width: auto;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.controls{
	button{
		border: solid 1px var(--border-color);
	}
}

/* ── Breadcrumb ── */
.breadcrumb-nav {
    padding: 0 0 1rem;
    font-size: 0.82rem;
}

.breadcrumb-ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-ol li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
}

.breadcrumb-ol li + li::before {
    content: '›';
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1;
}

.breadcrumb-ol a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb-ol a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.breadcrumb-ol [aria-current="page"] {
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer */
/*
footer {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
	margin-bottom: 0rem;
	margin-top: 1rem;
}
*/

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem !important;
    }
    h1 {
        font-size: 2.5rem;
    }
	.logo {
		font-size: 1.1rem !important;
	}
	.btn {
		padding: 0.3rem 0.7rem !important;
	}
	
	.btn-get {
		font-size: 13px !important;
		white-space: nowrap !important;
	}
	
	main.container {
		margin-top: 125px !important;
	}
	
	body::before {
		content: '';
		position: fixed;
		top: -10%;
		left: -0%;
		width: 100%;
		height: 110%;
		background: radial-gradient(circle, rgba(68, 98, 118, 0.15) 0%, transparent 70%);
		z-index: -1;
		pointer-events: none;
	}
	
	body::after {
		content: '';
		position: fixed;
		bottom: -10%;
		right: -0%;
		width: 100%;
		height: 112%;
		background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
		z-index: -1;
		pointer-events: none;
	}
	
}

.pull-left{
	float: left;
}

.footer-menu{
	float: right;
}

#themeToggle{
	background: var(--toggle-bg) !important;
	width: 32px;
	height: 32px;
	position: fixed;
	right: 0px;
	top: 40%;
	border: 0px;
	border-radius: 6px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	cursor: pointer;
	z-index: 9;
}

.icon-switch {
    background: var(--switch-icon);
	background-repeat: no-repeat;
	background-size: 18px 18px;
	min-width: 19px;
	min-height: 20px;
	margin-top: 2px;
	display: inline-block;
	position: relative;
	top: 1px;
	left: 1px;
}

/*------------- menu start -------------*/


.header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
  padding: 1rem 0;
  top: 0;
}
.header.is-sticky {
  top: 0;
  transform: translateY(-100%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  max-width: calc(100vw - 3rem);
  height: 4rem;
  border-radius: 3rem;
  background-color: var(--color-white-100);
  box-shadow: var(--shadow-medium);
  padding: 0px 8px 0px 20px !important;
  margin: auto;
}

.out-tab.active {
    color: #fff !important;
}

.brand {
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--color-black-500);
}

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-top: 25dvh;
  background-color: var(--color-white-100);
  box-shadow: var(--shadow-medium);
  transition: all 0.35s ease;
}
.menu.is-active {
  right: 0;
}
.menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1.5rem;
}
.menu-link {
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--color-black-500);
  transition: all 0.3s ease;
  text-decoration: none;
}

li.menu-item{
	list-style-type: none;
}

.btn-get{
	border-radius: 25px;
}

.menu-block {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}
@media only screen and (min-width: 48rem) {
  .menu {
    position: relative;
    top: initial;
    right: initial;
    width: auto;
    height: auto;
    padding: unset;
    margin-left: auto;
    background: unset;
    box-shadow: unset;
    transition: unset;
  }
  .menu-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 2rem;
    margin-inline: auto;
  }
  .menu-link {
    font-size: 1rem;
    text-transform: capitalize;
  }
	
}

@media(max-width:768px){
	.navbar {
		max-width: calc(100vw - 2rem) !important;
	  }
}

.burger {
	position: relative;
    display: block;
    z-index: 99;
    visibility: visible;
    font-size: 18px;
    padding: 9px 10px 8px 10px;
    border: 0px;
    border-radius: 10px;
    color: var(--primary);
	background: transparent;
}
@media only screen and (min-width: 48rem) {
  .burger {
    display: none;
    visibility: hidden;
  }
}
.burger-line {
  position: absolute;
  right: 0;
  opacity: 1;
  width: 100%;
  height: 2px;
  line-height: 1.25;
  background-color: var(--color-black-500);
  transition: all 0.25s ease;
}
.burger-line:nth-child(1) {
  top: 0.25rem;
}
.burger-line:nth-child(2) {
  top: 0.75rem;
}
.burger.is-active .burger-line:nth-child(1) {
  top: 0.5rem;
  transform: rotate(135deg);
}
.burger.is-active .burger-line:nth-child(2) {
  top: 0.5rem;
  transform: rotate(-135deg);
}

/*------------- menu end -------------*/


main{
	padding-top: 125px !important;
}

#fgColor, #bgColor, #colorPicker{
	min-width: 60px;
	min-height: 60px;
	padding: 5px !important;
}

.calculator {
	background: var(--bg-dark) !important;
}

.keys{
	.op{
		color: var(--primary);
	}

	.key{
		color: var(--text-main);
	}
	
	.key.eq {
		color: var(--text-white);
	}
}

.decimal-output{
	margin-top: 0px !important;
}

.age-display, .result-display{
	height: auto !important;
}

.faq-container {
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.faq-item {
  background: var(--bg-dark);
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  background: var(--bg-dark);
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--color-white-500);
  color: var(--text-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-dark);
  transition: all 0.4s ease;
  padding: 0 20px;
  line-height: 1.6;
  color: var(--text-main);
}

.faq-item.active .faq-question {
	background: var(--color-white-500);
	color: var(--text-white);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.tool-grid-home{
	.tool-card{
		margin: 0px !important;
	}	
}

.email-link{
	color: var(--primary);
	text-decoration: none;
	font-size: 1.3rem;
}

.no-pdd{
	padding: 0px !important;
}

.cd-headline{
	font-size: 1.3rem;
}

.editor-box{
	textarea{
		height: 500px;
	}
}

.related-tools{
	h3{
		margin-bottom: 0.2rem !important;
	}
}

.calc-container{
	.input-panel{
		margin: 0px;
	}
}

#sqlOutput {
  min-height: 422px !important;
}

#btnFetch{
	padding: 15px 20px;
	display: inline-flex;
	white-space: nowrap;
}

/* ── Dynamic Related Tools ──────────────────────────────────────────── */
.related-tools-section { margin-top: 3rem; }

.rt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.rt-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}
.rt-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.rt-card strong { font-size: 0.88rem; font-weight: 600; }
.rt-card small   { font-size: 0.76rem; color: var(--text-muted); line-height: 1.4; }

/* ── Rich Site Footer ───────────────────────────────────────────────── */

/*
.site-footer {
  background: #f9f9f7;
  border-top: 1px solid #e8e8e4;
  padding: 2.5rem 0 0;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 1rem;
}

.footer-cats a,
.footer-top a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.4;
}

.footer-cats a:hover,
.footer-top a:hover {
  color: #111;
}

.footer-emoji {
  font-size: 14px;
  line-height: 1;
}

.footer-copy {
  border-top: 1px solid #e8e8e4;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy p {
  font-size: 12.5px;
  color: #999;
  margin: 0;
}

.footer-copy a {
  color: #666;
  text-decoration: none;
}

.footer-copy a:hover {
  color: #111;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
}
*/





/*
.site-footer {
    border-top: 1px solid var(--glass-border);
    margin-top: 3rem;
    padding-top: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-cats,
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-cats a,
.footer-top a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.2s;
}
.footer-cats a:hover,
.footer-top a:hover { color: var(--primary); }

.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem; }

.footer-copy {
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.1rem;
}
.footer-copy p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-copy a { color: var(--primary); text-decoration: none; }*/



/*-------- lux footer ---------*/

/* ── TOP STRIPE ── */
  .footer-stripe {
    background: var(--primary);
    padding: 9px 0;
    text-align: center;
    overflow: hidden;
  }
  .footer-stripe p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.92rem;
    color: #ffe0dd;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  /* ── FOOTER SHELL ── */
  footer {
    background: var(--white);
    border-top: 3px solid var(--primary);
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
	margin-top: 25px;
  }

  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 0px;
  }

  /* ── MAIN GRID ── */
  .footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr;
    gap: 40px 36px;
  }

  /* ── SECTION TITLE ── */
  .sec-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--red-border);
  }

  /* ── BRAND ── */
  .brand-name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 2.1rem;
    color: var(--primary);
    letter-spacing: 0.16em;
    line-height: 1;
  }
  .brand-sub {
    font-size: 0.58rem;
    font-weight: 200;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 5px;
  }
  .about-text {
    font-size: 0.78rem;
    color: var(--text-mute);
    line-height: 1.9;
    letter-spacing: 0.03em;
    margin: 14px 0 18px;
  }

  /* ── STATS ── */
  .stats-row {
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .stat-box {
    border-left: 2px solid var(--primary);
    padding: 3px 0 3px 10px;
  }
  .stat-num {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1;
  }
  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 300;
  }

  /* ── BADGES ── */
  .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
  }
  .badge {
    border: 1px solid var(--border);
    padding: 4px 10px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #999;
    border-radius: 2px;
  }

  /* ── SOCIAL ── */
  .socials {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .social-link {
    width: 33px;
    height: 33px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mute);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: background 0.22s, border-color 0.22s, color 0.22s;
  }
  .social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
  .social-link svg { width: 15px; height: 15px; fill: currentColor; }

  /* ── LINKS ── */
  .link-list { list-style: none; }
  .link-list li { margin-bottom: 0.15rem; }
  .link-list a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    transition: color 0.22s, gap 0.22s;
    position: relative;
  }
  .link-list a::before {
    content: '';
    display: inline-block;
    width: 4px; height: 4px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0;
    opacity: 0;
    transition: opacity 0.22s, margin-right 0.22s;
    flex-shrink: 0;
  }
  .link-list a:hover { color: var(--primary); }
  .link-list a:hover::before { opacity: 1; margin-right: 7px; }

  .sec-title.mt { margin-top: 1.6rem; }

  /* ── NEWSLETTER ── */
  .newsletter-box {
    background: var(--red-light);
    border: 1px solid var(--red-border);
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 24px;
  }
  .newsletter-box p {
    font-size: 0.75rem;
    color: var(--text-mute);
    line-height: 1.8;
    margin-bottom: 14px;
  }
  .nl-input {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--primary-mid);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 9px 12px;
    border-radius: 2px;
    outline: none;
    margin-bottom: 8px;
    transition: border-color 0.22s;
  }
  .nl-input::placeholder { color: #ccc; }
  .nl-input:focus { border-color: var(--primary); }
  .nl-btn {
    width: 100%;
    background: var(--primary);
    border: none;
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    border-radius: 2px;
    margin-top: 4px;
    transition: background 0.22s;
  }
  .nl-btn:hover { background: var(--red-dark); }
  .nl-note {
    font-size: 0.62rem;
    color: var(--text-faint);
    margin-top: 7px;
    letter-spacing: 0.04em;
  }

  /* ── STORE LOCATIONS ── */
  .loc-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    transition: color 0.22s;
  }
  .loc-link:hover { color: var(--primary); }
  .loc-pin {
    width: 13px; height: 13px;
    fill: var(--primary);
    flex-shrink: 0;
  }

  /* ── DIVIDER ── */
  .mid-divider {
    height: 1px;
    background: linear-gradient(to right, var(--primary) 0%, var(--red-border) 40%, transparent 100%);
    margin: 0px 0 32px;
  }

  /* ── PAYMENT / APP / CERTS ROW ── */
  .extras-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
  .extras-label {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 10px;
  }
  .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .pill {
    border: 1px solid var(--border);
    padding: 4px 10px;
    font-size: 0.68rem;
    color: var(--text-mute);
    border-radius: 2px;
    letter-spacing: 0.05em;
  }
  .app-btns { display: flex; gap: 8px; flex-wrap: wrap; }
  .app-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--red-mid);
    padding: 7px 14px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--primary);
    text-decoration: none;
    border-radius: 2px;
    letter-spacing: 0.06em;
    transition: background 0.22s, color 0.22s;
  }
  .app-btn:hover { background: var(--primary); color: #fff; }
  .app-btn svg { width: 14px; height: 14px; fill: currentColor; }
  .cert-pills { justify-content: flex-start; }

  /* ── BOTTOM BAR ── */
  .bottom-bar {
    background: #f9f1f0;
    border-top: 1px solid var(--red-border);
  }
  .bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 25px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--glass-border);
	  
	span{
		font-size: 0.78rem;
	}
  }
  .bottom-bar span,
  .bottom-bar a {
    font-size: 0.68rem;
    color: #aaa;
    letter-spacing: 0.08em;
    text-decoration: none;
  }
  .bottom-bar a:hover { color: var(--primary); }
  .bottom-links { 
	  display: flex; gap: 18px; flex-wrap: wrap; 
	  
	  a{
		display: inline-flex;
		align-items: center;
		gap: 0;
		color: var(--text-mid);
		text-decoration: none;
		font-size: 0.78rem;
		letter-spacing: 0.04em;
		transition: color 0.22s, gap 0.22s;
		position: relative;
	  }
	  
	  a:hover{
		  color: var(--primary);
	  }
  }
  .lang-select {
    background: #fff;
    border: 1px solid var(--red-mid);
    color: #888;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    outline: none;
    cursor: pointer;
    border-radius: 2px;
  }

  /* ══════════════════════════════
     RESPONSIVE BREAKPOINTS
  ══════════════════════════════ */

  /* Tablet landscape */
  @media (max-width: 1100px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-grid > .col-brand { grid-column: 1 / -1; }
    .extras-row { grid-template-columns: 1fr 1fr; }
  }

  /* Tablet portrait */
  @media (max-width: 768px) {
    .footer-inner { padding: 40px 20px 30px; }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 28px 24px;
    }
    .footer-grid > .col-brand { grid-column: 1 / -1; }
    .footer-grid > .col-newsletter { grid-column: 1 / -1; }
    .extras-row { grid-template-columns: 1fr 1fr; gap: 24px; }
    .bottom-inner { padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  }

  /* Mobile */
  @media (max-width: 480px) {
    .footer-stripe p { font-size: 0.75rem; letter-spacing: 0.04em; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .footer-grid > .col-brand { grid-column: auto; }
    .footer-grid > .col-newsletter { grid-column: auto; }
    .extras-row { grid-template-columns: 1fr; gap: 20px; }
    .brand-name { font-size: 1.8rem; }
    .stats-row { gap: 14px; }
    .mid-divider { margin: 30px 0 24px; }
    .bottom-links { gap: 12px; }
    .app-btns { flex-direction: column; }
  }

.output-area, .diff-out, .match-wrap textarea, #jsOutput, .stats-bar, #xmlOutput, .panel-body, .count-box, #cssOutput, .webhook-card, .webhook-signature, pre, .stat-cell, .toolbar, .canvas-area, .code-out, .preview-area, .style-card {
    background: var(--bg-dark) !important;
	color: var(--text-main) !important;
}

.hash-output, .multi-hash-val, .amort-table th, .output-box, .batch-out, .url-preview{
    background: var(--bg-dark) !important;
}

.bulk-item, .pw-display, .passphrase-display, .formula-text, #formulaBox, .chart-wrap, #ts-output, input[type="date"]{
    background: var(--bg-dark) !important;
	border: 1px solid var(--glass-border)
}

.ring-time, .key.fn, .const-sym{
	color: var(--text-main) !important;
}
  
.tool-layout .controls{
	margin-top: 0px !important;
}

.sv {
    font-size: 1.15rem !important;
}

.notice-bar {
    margin-top: 15px !important;
}

.radio-label input {
    width: auto !important;
}

.input-panel select option {
    background: var(--bg-dark) !important;
}

.upload-zone{
	margin-bottom: 10px;
}

.faq-item button code{
	display: contents;
}



