/* 
  Enginewheels Global CSS Styling System
  Theme: Gumroad-Inspired Bold Light Mode with Neobrutalism Card Shadows & Borders
*/

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

/* CSS Variables */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  
  /* Colors */
  --bg-primary: #FFF9F0;
  --bg-secondary: #FFFCF5;
  --bg-footer: #0A0A0A;
  --card-bg: #FFFFFF;
  --card-border: #0A0A0A;
  
  --color-violet: #FF90E8; /* Hot Pink */
  --color-violet-glow: rgba(255, 144, 232, 0.4);
  --color-red: #90EE02; /* Lime Green */
  --color-red-glow: rgba(144, 238, 2, 0.4);
  
  --color-gradient: #FF90E8;
  --color-gradient-hover: #ffb3f0;
  
  --text-main: #0A0A0A;
  --text-muted: #2D2D2D;
  --text-dim: #555555;
  
  --success: #90EE02;
  --warning: #FFE600;
  --danger: #FF3B30;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.25s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Remove SaaS background gradient overlay */
body::before {
  display: none !important;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-violet);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
}

.text-center { text-align: center; }

/* Sticky Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  border-bottom: 2px solid #0A0A0A;
  background-color: var(--bg-primary);
}

.site-header.scrolled {
  background-color: var(--bg-primary);
  border-bottom: 2px solid #0A0A0A;
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0A0A0A !important;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FF90E8;
  border: 2px solid #0A0A0A;
  position: relative;
  box-shadow: 2px 2px 0px #000;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0A0A0A;
  z-index: 1;
}

.logo-icon-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #90EE02;
  z-index: 2;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 12px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  background-color: #FF90E8;
  border-color: #0A0A0A;
  box-shadow: 2px 2px 0px #000;
}

.nav-link.active {
  background-color: #90EE02;
  border-color: #0A0A0A;
  box-shadow: 2px 2px 0px #000;
}

/* Categories Dropdown */
.categories-nav {
  position: relative;
}

.categories-dropdown {
  position: absolute;
  top: 100%;
  right: -50px;
  width: 300px;
  background-color: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 4px 4px 0px #000;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  z-index: 10;
  animation: fadeIn 0.15s ease-out;
}

.categories-nav:hover .categories-dropdown {
  display: grid;
}

.categories-dropdown a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  color: #0A0A0A;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.categories-dropdown a:hover {
  background-color: #FF90E8;
  border-color: #0A0A0A;
  color: #0A0A0A;
  padding-left: 16px;
  box-shadow: 2px 2px 0px #000;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 110;
  border: 2px solid #0A0A0A;
  padding: 8px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0px #000;
}

.burger-bar {
  width: 20px;
  height: 3px;
  background-color: #0A0A0A;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 100px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: #90EE02;
  border: 2px solid #0A0A0A;
  color: #0A0A0A;
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0px #000;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #0A0A0A;
}

.hero-headline span {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #FF90E8 !important;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 3px 3px 0 #000;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #2D2D2D;
  max-width: 650px;
  margin: 0 auto 40px auto;
  font-weight: 500;
}

/* Search bar on home */
.search-container {
  max-width: 600px;
  margin: 0 auto 40px auto;
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 20px;
  box-shadow: 4px 4px 0px #000;
  transition: all var(--transition-normal);
}

.search-input-wrapper:focus-within {
  border-color: #FF90E8;
  box-shadow: 5px 5px 0px #000;
}

.search-icon {
  color: #0A0A0A;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  padding: 12px 0;
  background: none;
  font-size: 1.05rem;
  color: #0A0A0A;
  font-weight: 600;
}

.search-input::placeholder {
  color: #777777;
}

.search-btn {
  background: #FF90E8;
  color: #0A0A0A;
  border: 2px solid #0A0A0A;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 2px 2px 0px #000;
  transition: all var(--transition-fast);
}

.search-btn:hover {
  background: #ffb3f0;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
}

.search-results-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  margin-top: 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  text-align: left;
  box-shadow: 4px 4px 0px #000;
}

.search-results-overlay.active {
  display: block;
}

.search-result-item {
  padding: 12px 20px;
  border-bottom: 2px solid #0A0A0A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.search-result-item:hover {
  background-color: #FF90E8;
}

.search-result-item a {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.search-result-title {
  font-weight: 700;
  color: #0A0A0A;
  font-size: 0.95rem;
}

.search-result-cat {
  font-size: 0.75rem;
  color: #2D2D2D;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: #0A0A0A;
  color: #FFFFFF;
  border: 2px solid #0A0A0A;
  box-shadow: 3px 3px 0px #000;
}

.btn-primary:hover {
  background: #FF90E8;
  color: #0A0A0A;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}

.btn-secondary {
  background: #FFFFFF;
  color: #0A0A0A;
  border: 2px solid #0A0A0A;
  box-shadow: 3px 3px 0px #000;
}

.btn-secondary:hover {
  background: #FFFCF5;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}

/* Floating decorative elements */
.floating-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  opacity: 0.3;
  animation: floatAround 25s infinite linear;
  color: #FF90E8;
  font-size: 1.8rem;
  font-weight: bold;
}

.floating-icon:nth-child(even) {
  color: #90EE02;
}

@keyframes floatAround {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  33% { transform: translateY(-40px) translateX(30px) rotate(120deg); }
  66% { transform: translateY(20px) translateX(-50px) rotate(240deg); }
  100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Title and grids styling */
.section-title-wrapper {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #0A0A0A;
}

.section-title span {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #FF90E8 !important;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 2px 2px 0 #000;
}

.section-subtitle {
  color: #2D2D2D;
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.category-card {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 4px 4px 0px #000;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  display: none !important;
}

.category-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
  background: #FFFFFF;
}

.category-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #FF90E8;
  border: 2px solid #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.category-card:hover .category-icon {
  background: #90EE02;
  color: #0A0A0A;
  box-shadow: 2px 2px 0px #000;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 8px;
}

.category-card-desc {
  font-size: 0.875rem;
  color: #2D2D2D;
  font-weight: 500;
}

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

.tool-card {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 4px 4px 0px #000;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tool-card::before {
  display: none !important;
}

.tool-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
  background: #FFFFFF;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FFE600;
  border: 2px solid #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
  box-shadow: 1.5px 1.5px 0px #000;
}

.tool-card:hover .tool-card-icon {
  background: #FF90E8;
  box-shadow: 2px 2px 0px #000;
}

.tool-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0A0A0A;
}

.tool-card-desc {
  font-size: 0.875rem;
  color: #2D2D2D;
  font-weight: 500;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tool-card-link {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0A0A0A;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  border-bottom: 2px solid #FF90E8;
  transition: all var(--transition-fast);
}

.tool-card:hover .tool-card-link {
  color: #0A0A0A;
  border-color: #90EE02;
}

.tool-card-link svg {
  transition: transform var(--transition-fast);
}

.tool-card:hover .tool-card-link svg {
  transform: translateX(4px);
}

/* Features & Testimonials */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 4px 4px 0px #000;
  transition: all var(--transition-fast);
}

.feature-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FF90E8;
  border: 2px solid #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  font-size: 1.25rem;
  box-shadow: 2px 2px 0px #000;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.9rem;
  color: #2D2D2D;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 4px 4px 0px #000;
  position: relative;
}

.testimonial-card::after {
  content: '“';
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 6rem;
  color: rgba(255, 144, 232, 0.15);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #2D2D2D;
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FF90E8;
  border: 2px solid #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0A0A0A;
  box-shadow: 1.5px 1.5px 0px #000;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: #555555;
  font-weight: 500;
}

/* FAQs Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 4px 4px 0px #000;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px #000;
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  color: #0A0A0A;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #0A0A0A;
  font-weight: 800;
  transition: transform var(--transition-normal);
}

.faq-item[open] summary::after {
  content: '-';
  color: #FF90E8;
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: #2D2D2D;
  font-size: 0.95rem;
  font-weight: 500;
  border-top: 2px solid #0A0A0A;
  padding-top: 16px;
}

/* Footer Section */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 2px solid #0A0A0A;
  padding: 80px 0 30px 0;
  font-size: 0.9rem;
  color: #FFF9F0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-desc {
  margin: 16px 0 24px 0;
  max-width: 320px;
  line-height: 1.6;
  color: #D3C7B5;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2D2D2D;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: bold;
  box-shadow: 2px 2px 0px #FFFFFF;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: #FF90E8;
  color: #0A0A0A;
  border-color: #0A0A0A;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #90EE02;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #FF90E8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #D3C7B5;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #FF90E8;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 2px solid #2D2D2D;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #D3C7B5;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: #D3C7B5;
}
.footer-bottom-links a:hover {
  color: #FF90E8;
}

/* Tool Pages */
.tool-page-layout {
  padding-top: 120px;
  padding-bottom: 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 24px;
  font-weight: 600;
}

.breadcrumb a {
  color: #2D2D2D;
}

.breadcrumb a:hover {
  color: #FF90E8;
}

.tool-header {
  margin-bottom: 40px;
}

.tool-title-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #0A0A0A;
}

.tool-desc-lead {
  font-size: 1.1rem;
  color: #2D2D2D;
  font-weight: 500;
  max-width: 700px;
}

/* Interactive Card overrides */
.calculator-card, .tool-interface-card, .static-content-card {
  background: #FFFFFF !important;
  border: 2px solid #0A0A0A !important;
  border-radius: var(--radius-lg) !important;
  padding: 32px !important;
  box-shadow: 6px 6px 0px #000 !important;
  margin-bottom: 60px !important;
  backdrop-filter: none !important;
}

/* Inputs & Form controls override */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700 !important;
  font-size: 0.95rem;
  color: #0A0A0A !important;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: #FFFFFF !important;
  border: 2px solid #0A0A0A !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 18px !important;
  color: #0A0A0A !important;
  font-size: 1rem !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 3px 3px 0px #000 !important;
  font-weight: 600 !important;
}

.form-control:focus {
  border-color: #FF90E8 !important;
  box-shadow: 4px 4px 0px #000 !important;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
  font-family: monospace;
}

.tool-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: #FF90E8;
  cursor: pointer;
}

.range-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.range-group-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #2D2D2D;
  font-weight: 600;
}

.range-slider {
  width: 100%;
  accent-color: #FF90E8;
}

/* Action button bar */
.tool-action-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Tool output displays overrides */
.tool-output-wrapper {
  margin-top: 30px;
  border-top: 2px solid #0A0A0A;
  padding-top: 30px;
}

.tool-output-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #0A0A0A;
}

.tool-output-box {
  background: #FFF9F0 !important;
  border: 2px solid #0A0A0A !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  position: relative !important;
  min-height: 80px !important;
  font-family: monospace !important;
  font-size: 0.95rem !important;
  color: #0A0A0A !important;
  box-shadow: 3px 3px 0px #000 !important;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-x: auto;
}

.copy-badge-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 2px 2px 0px #000;
}

.copy-badge-btn:hover {
  background: #FF90E8;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
  color: #0A0A0A;
}

/* Toast alert notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-left-width: 6px;
  border-left-color: #90EE02;
  color: #0A0A0A;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0px #000;
  z-index: 1000;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-error {
  border-left-color: #FF3B30;
}

/* SEO Content Articles */
.seo-article {
  max-width: 900px;
  margin: 0 auto;
}

.seo-article h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #0A0A0A;
}

.seo-article h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 750;
  margin-top: 30px;
  margin-bottom: 12px;
  color: #0A0A0A;
}

.seo-article p {
  color: #2D2D2D;
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.75;
  font-weight: 500;
}

.seo-article ul, .seo-article ol {
  color: #2D2D2D;
  font-size: 1.05rem;
  margin-bottom: 24px;
  padding-left: 24px;
}

.seo-article li {
  margin-bottom: 8px;
  font-weight: 500;
}

.related-tools-section {
  border-top: 2px solid #0A0A0A;
  padding-top: 60px;
  margin-top: 60px;
}

/* QR Code canvas container */
.qr-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  width: fit-content;
  margin: 0 auto 24px auto;
  border: 2px solid #0A0A0A;
  box-shadow: 4px 4px 0px #000;
}

#qrcode-canvas {
  max-width: 100%;
}

/* Word Counter stats */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: 3px 3px 0px #000;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FF90E8;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 1.5px 1.5px 0 #000;
}

.stat-label {
  font-size: 0.8rem;
  color: #2D2D2D;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Static Information pages (About Us, Contact Us, etc.) */
.static-page-layout {
  padding-top: 120px;
  padding-bottom: 80px;
}

.static-content-card h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.static-content-card h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #0A0A0A;
  border-bottom: 2px solid #0A0A0A;
  padding-bottom: 8px;
}

.static-content-card p {
  color: #2D2D2D;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 500;
}

.static-content-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style-type: disc;
}

.static-content-card li {
  color: #2D2D2D;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Contact Page form layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FF90E8;
  border: 2px solid #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  font-size: 1.1rem;
  box-shadow: 2px 2px 0px #000;
}

.contact-info-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-info-value {
  color: #2D2D2D;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Category Grid on homepage categories list */
.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.home-category-card {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 4px 4px 0px #000;
}

.home-category-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
}

.home-category-icon {
  font-size: 1.75rem;
  color: #FF90E8;
  margin-bottom: 12px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 1.5px 1.5px 0 #000;
}

.home-category-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.home-category-count {
  font-size: 0.75rem;
  color: #555555;
  font-weight: 600;
  margin-top: 4px;
}

/* Theme color swatches for Color Picker */
.color-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.color-swatch {
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  cursor: pointer;
  border: 2px solid #0A0A0A;
  transition: transform var(--transition-fast);
  box-shadow: 2px 2px 0px #000;
}

.color-swatch:hover {
  transform: scale(1.05) translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
}

/* Image Base64 Uploader area */
.image-upload-area {
  border: 2px dashed #0A0A0A;
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  background: #FFFFFF;
  transition: all var(--transition-fast);
  margin-bottom: 24px;
  box-shadow: 3px 3px 0px #000;
}

.image-upload-area.dragover {
  border-color: #FF90E8;
  background: #FFF9F0;
  box-shadow: 4px 4px 0px #000;
}

.upload-icon {
  font-size: 2.5rem;
  color: #0A0A0A;
  margin-bottom: 12px;
}

.upload-text {
  font-size: 1.05rem;
  color: #0A0A0A;
  font-weight: 700;
  margin-bottom: 4px;
}

.upload-hint {
  font-size: 0.8rem;
  color: #555555;
  font-weight: 600;
}

.image-preview-wrapper {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.image-preview-box {
  max-width: 300px;
  max-height: 200px;
  border: 2px solid #0A0A0A;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 3px 3px 0px #000;
}

/* Result box details override */
.result-box {
  background: #FFF9F0 !important;
  border: 2px solid #0A0A0A !important;
  border-radius: var(--radius-md) !important;
  padding: 16px !important;
  box-shadow: 3px 3px 0px #000 !important;
}

.result-box div {
  font-weight: 700 !important;
  color: #0a0a0a !important;
}

.result-box span {
  color: #FF90E8 !important;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 2px 2px 0 #000;
}

.calc-breakdown {
  border: 2px solid #0A0A0A !important;
  background: #FFFCF5 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 3px 3px 0px #000 !important;
}

.badge, .tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  border: 2px solid #0A0A0A;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0A0A0A;
  box-shadow: 1.5px 1.5px 0px #000;
}

.tag-free, .badge-free {
  background-color: #90EE02;
}

.tag-freemium, .badge-freemium {
  background-color: #FFE600;
}

.tag-paid, .badge-paid {
  background-color: #FF90E8;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-col-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    z-index: 99;
    border-top: 2px solid #0A0A0A;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .categories-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    background-color: rgba(0,0,0,0.02);
    border: 2px solid #0A0A0A;
    padding: 8px 12px;
    margin-top: 8px;
    display: none;
  }
  
  .categories-nav.active .categories-dropdown {
    display: grid;
  }
  
  .burger-menu {
    display: flex;
  }
  
  /* Burger Animation */
  .burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-section {
    padding-top: 120px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .static-content-card {
    padding: 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Morse audio playback indicator */
.morse-play-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #FF90E8;
  margin-top: 8px;
}

.morse-bar {
  width: 3px;
  height: 12px;
  background: #FF90E8;
  border: 1px solid #0A0A0A;
  border-radius: 10px;
  animation: playBar 0.5s ease infinite alternate;
  display: none;
}

.morse-bar:nth-child(2) { animation-delay: 0.15s; }
.morse-bar:nth-child(3) { animation-delay: 0.3s; }

.morse-playing .morse-bar {
  display: block;
}

@keyframes playBar {
  0% { height: 4px; }
  100% { height: 16px; }
}
