/* ===== FONTS loaded via <link> preconnect in HTML for better performance ===== */

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #ffffff; }
::-webkit-scrollbar-thumb { background: #0d9488; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #14b8a6; }

/* ===== WEBKIT GRADIENT TEXT CLIP ===== */
.gradient-text,
.logo-text,
.highlight {
  color: #0d9488;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

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

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  70% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes copyPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); border-color: #0d9488; background: rgba(13, 148, 136, 0.05); }
  100% { transform: scale(1); }
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===== ANIMATION HELPERS ===== */
.logo-img { 
  width: 32px; 
  height: 32px; 
  object-fit: contain;
  animation: float 3s ease-in-out infinite; 
}
.logo-icon { display: none; }

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: none;
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.animate-in { animation: fadeInUp 0.5s ease forwards; }
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

/* ===== PARTICLE BACKGROUND ===== */
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.particle { position: absolute; width: 3px; height: 3px; background: #0d9488; border-radius: 50%; opacity: 0.15; animation: floatParticle linear infinite; }

/* ===== SIDEBAR ACTIVE LINK ===== */
.sidebar-links a.active {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  font-weight: 600;
  border-right: 3px solid #0d9488;
}

/* ===== SYMBOL ITEM COPIED STATE ===== */
.symbol-item.copied {
  border-color: #0d9488;
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.2);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0d9488;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(185, 220, 242, 0.4);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* ===== CONVERTED FROM TAILWIND ===== */

/* ===== BASE STYLES ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Inter', system-ui, sans-serif; 
  background: linear-gradient( 90.6deg,  rgba(251,229,210,1) 18.9%, rgba(217,240,235,1) 39.5%, rgba(208,239,238,1) 51.1%, rgba(219,242,240,1) 62.1%, rgba(233,240,217,1) 84.1% );
  background-attachment: fixed;
  color: #0f172a; 
  min-height: 100vh; 
  line-height: 1.6; 
  overflow-x: hidden; 
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== COMPONENTS ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
  z-index: 1001;
  height: 70px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-inner {
  display: flex; height: 100%; align-items: center; justify-content: center; width: 100%; max-width: 1400px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 0.625rem; font-size: 1.5rem; font-weight: 800; font-family: 'Outfit', sans-serif;
  color: #0d9488;
}
.header-nav {
  display: flex; align-items: center; gap: 0.5rem;
}
.header-nav a {
  padding: 0.5rem 1.25rem; 
  border-radius: 9999px; 
  font-size: 0.875rem; 
  font-weight: 600; 
  color: #065f46; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Outfit', sans-serif;
}
.header-nav a:hover {
  background-color: rgba(13, 148, 136, 0.05); color: #0d9488;
}
.header-nav a.active {
  background: linear-gradient(135deg, #0d9488, #14b8a6); 
  color: #ffffff;
}
.header-nav a.nav-cta {
  background: linear-gradient(135deg, #0d9488, #14b8a6); 
  color: #ffffff !important;
  margin-left: 0.5rem;
}
.header-nav a.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.1);
}
.menu-toggle {
  display: none; font-size: 1.5rem; color: #000000; padding: 0.5rem; cursor: pointer; background: transparent; border: 0;
}
.sidebar-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 850;
}
.sidebar-overlay.show {
  display: block;
}
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 280px; 
  background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(13, 148, 136, 0.08); 
  overflow-y: auto; padding: 90px 0 1.5rem 0; z-index: 1000; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar::-webkit-scrollbar {
  width: 5px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.2);
  border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 148, 136, 0.4);
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar-section {
  padding: 0 1rem; margin-bottom: 2rem;
}
.sidebar-title {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #94a3b8; padding: 0 0 0.75rem 0.875rem; font-family: 'Outfit', sans-serif;
}
.sidebar-links a {
  display: flex; align-items: center; gap: 0.625rem; padding: 0.35rem 0.875rem; border-radius: 0.375rem; font-size: 0.83rem; color: #000000; transition: all 0.2s;
}
.sidebar-links a:hover {
  background-color: rgba(13, 148, 136, 0.05); color: #0d9488; transform: translateX(8px);
}
.link-icon {
  font-size: 1.125rem; min-width: 1.5rem; width: auto; text-align: center; flex-shrink: 0; white-space: nowrap;
}
.page-wrapper {
  display: flex; margin-top: 70px; min-height: calc(100vh - 70px);
}
.main-content {
  flex: 1; padding: 2rem; margin-left: 280px; max-width: calc(100% - 280px);
}
.hero {
  text-align: center; padding: 5rem 1.25rem; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2rem;
  margin: 1rem;
  border: 1px solid rgba(13, 148, 136, 0.1);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.05);
}
.hero-title {
  font-size: 3rem; font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 1; font-family: 'Outfit', sans-serif;
}
.hero-subtitle {
  font-size: 1.125rem; color: #000000; max-width: 32rem; margin: 0 auto 2rem auto; position: relative; z-index: 1;
}

/* ===== MODERN SEARCH BAR ===== */
.search-container {
  position: relative;
  max-width: 36rem;
  margin: 0 auto 2.5rem auto;
  z-index: 1;
  border-radius: 9999px;
  padding: 2.5px;
  background: linear-gradient(135deg, #d1d5db, #e5e7eb);
  transition: all 0.4s ease;
}
.search-container:focus-within {
  background: #ffffff;
  border: 1px solid #0d9488;
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.15);
  transform: scale(1.02);
}
.search-icon {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  z-index: 2;
}
.search-container:focus-within .search-icon {
  color: #0d9488;
}
.search-box {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.2rem;
  background: #ffffff;
  border: none;
  border-radius: 9999px;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 400;
  outline: none;
  transition: all 0.3s ease;
}
.search-box::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.search-box:focus {
  background: #ffffff;
}

.section-title {
  display: flex; align-items: center; gap: 0.75rem; font-size: 1.6rem; font-weight: 800; margin-bottom: 1.5rem; font-family: 'Outfit', sans-serif;
  color: #064e3b;
}
.section-title .icon {
  font-size: 1.5rem;
}
.section-title .line {
  flex: 1; height: 1px; background: linear-gradient(to right, #e5e7eb, transparent);
}
.search-results-section {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.symbol-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); 
  gap: 0.875rem; 
  margin-bottom: 3rem;
  padding: 0.5rem;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
.symbol-item {
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  aspect-ratio: 1 / 1;
  background: #ffffff; 
  border: 1px solid rgba(13, 148, 136, 0.08); 
  border-radius: 1rem; 
  font-size: 1.6rem; 
  cursor: pointer; 
  user-select: none; 
  position: relative; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  will-change: transform, box-shadow;
}
.symbol-item:hover {
  transform: translateY(-5px) scale(1.1); 
  border-color: #0d9488; 
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.12);
  z-index: 10;
}
.symbol-item:active {
  transform: scale(0.92);
}
.symbol-item.copied {
  animation: copyPulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-color: #0d9488;
  background-color: rgba(13, 148, 136, 0.05);
  z-index: 20;
}
.combo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.875rem; margin-bottom: 2.5rem;
}
.combo-item {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem; background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.5rem; cursor: pointer; user-select: none; gap: 0.75rem; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 1;
}
.js-ready .combo-item:not(.reveal) {
  opacity: 0;
}
.combo-item.reveal {
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.combo-item:hover {
  transform: translateY(-4px) scale(1.02); border-color: #0d9488; background-color: rgba(13, 148, 136, 0.02);
}
.combo-item:active {
  transform: scale(0.96);
}
.combo-text {
  font-size: 1.05rem; word-break: break-all; flex: 1;
}
.combo-copy-btn {
  font-size: 0.75rem; padding: 0.375rem 0.75rem; background-color: rgba(0, 0, 0, 0.04); border-radius: 0.25rem; color: #000000; white-space: nowrap; transition: all 0.2s;
}
.combo-item:hover .combo-copy-btn {
  background: #0d9488;
  color: #ffffff;
}
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.875rem; margin-bottom: 2.5rem;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.75rem 1rem; background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.75rem; text-align: center; cursor: pointer; transition: all 0.2s;
}
.category-card:hover {
  transform: translateY(-4px); border-color: #5eead4; box-shadow: 0 0 16px rgba(13, 148, 136, 0.12);
}
.category-card:hover .category-icon {
  transform: scale(1.15);
}
.category-icon {
  font-size: 2.2rem; margin-bottom: 0.75rem; transition: transform 0.2s;
}
.category-name {
  font-weight: 600; font-size: 0.92rem; color: #000000;
}
.category-count {
  font-size: 0.75rem; color: #000000; margin-top: 0.25rem;
}
.content-article {
  background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 2rem; margin-bottom: 2rem; line-height: 1.8;
}
.content-article h2 {
  font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #0d9488; font-family: 'Outfit', sans-serif;
}
.content-article h3 {
  font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.625rem; font-family: 'Outfit', sans-serif;
}
.content-article p {
  color: #000000; margin-bottom: 1rem;
}
.content-article ol, .content-article ul {
  padding-left: 1.5rem; margin-bottom: 1rem;
}
.content-article li {
  color: #000000; margin-bottom: 0.5rem;
}
.footer {
  padding: 2rem; border-top: 1px solid #e5e7eb; text-align: center; margin-left: 280px;
}
.footer-inner {
  max-width: 42rem; margin: 0 auto;
}
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem;
}
.footer-links a {
  color: #000000; font-size: 0.875rem; transition: color 0.2s;
}
.footer-links a:hover {
  color: #0d9488;
}
.footer-copy {
  font-size: 0.75rem; color: #000000;
}
.page-header {
  margin-top: 2rem; margin-bottom: 2rem; padding-bottom: 1.5rem; text-align: center; border-bottom: 1px solid #e5e7eb;
}
.page-header h1 {
  display: block; font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; font-family: 'Outfit', sans-serif; color: #1e293b;
}
.page-header p {
  display: none;
}
.back-link {
  display: none;
}
.back-link:hover {
  color: #0d9488;
}
.font-gen-container {
  max-width: 42rem; margin: 0 auto;
}
.font-input-area {
  margin-bottom: 2rem;
}
.font-input {
  width: 100%; padding: 1.125rem 1.5rem; background-color: rgba(0, 0, 0, 0.02); border: 2px solid #e5e7eb; border-radius: 0.75rem; color: #000000; font-size: 1.25rem; outline: none; transition: all 0.2s;
}
.font-input:focus {
  border-color: #0d9488; box-shadow: 0 0 16px rgba(13, 148, 136, 0.12);
}
.font-results {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.font-result-item {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem; background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.5rem; cursor: pointer; gap: 1rem; transition: all 0.2s;
}
.font-result-item:hover {
  background-color: #f0fdfa; border-color: #5eead4; box-shadow: 0 0 16px rgba(13, 148, 136, 0.12);
}
.font-style-name {
  font-size: 0.78rem; color: #000000; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; min-width: 100px;
}
.font-preview {
  flex: 1; font-size: 1.15rem; word-break: break-all;
}
.font-copy-btn {
  padding: 0.375rem 0.875rem; background-color: rgba(0, 0, 0, 0.04); border-radius: 0.25rem; color: #000000; font-size: 0.78rem; white-space: nowrap; transition: all 0.2s;
}
.font-result-item:hover .font-copy-btn {
  background: #0d9488;
  color: #ffffff;
}
.lenny-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin-bottom: 2.5rem;
}
.lenny-item {
  display: flex; align-items: center; justify-content: center; padding: 1.125rem; background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.5rem; font-size: 1.25rem; cursor: pointer; user-select: none; text-align: center; word-break: break-all;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 1;
}
.js-ready .lenny-item:not(.reveal) {
  opacity: 0;
}
.lenny-item.reveal {
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.lenny-item:hover {
  transform: translateY(-4px) scale(1.05); border-color: #0d9488; background-color: rgba(13, 148, 136, 0.04);
}
.lenny-item:active {
  transform: scale(0.92);
}
.lenny-item.copied {
  animation: copyPulse 0.4s ease-in-out;
  border-color: #0d9488;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; max-width: 100% !important; padding: 1.25rem 1rem !important; }
  .footer { margin-left: 0 !important; }
  .menu-toggle { display: block !important; }
  .header-nav { display: none !important; }
  .symbol-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important; gap: 0.625rem !important; }
  .combo-grid { grid-template-columns: 1fr !important; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; }
  .lenny-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; }
  .font-result-item { flex-direction: column !important; align-items: flex-start !important; }
  .content-article { padding: 1.25rem !important; }
  .hero-title { font-size: 1.8rem !important; }
  .hero { padding: 2.5rem 0.625rem !important; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem !important; }
  .category-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ===== HERO QUICK LINKS ===== */
.hero-tags { display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.8rem; position: relative; z-index: 1; }
.tags-label { font-size: 0.85rem; color: #4b5563; font-weight: 600; }
.hero-tag { padding: 0.5rem 1.125rem; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 9999px; font-size: 0.85rem; font-weight: 600; color: #000000; transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 0.4rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); }
.hero-tag span { font-size: 1rem; }
.hero-tag:hover { transform: translateY(-3px); border-color: #5eead4; color: #0d9488; box-shadow: 0 4px 15px rgba(13, 148, 136, 0.1); }

/* ===== QUICK LINKS GRID (ALL SYMBOLS PAGE) ===== */
.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 30px;
}
.quick-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  word-break: keep-all;
  white-space: nowrap;
}
.quick-link-btn span {
  font-size: 1.2rem;
}
.quick-link-btn:hover {
  border-color: #0d9488;
  box-shadow: 0 6px 12px rgba(13, 148, 136, 0.1);
  transform: translateY(-3px);
  color: #0d9488;
  background: #fdfdfd;
}

/* ===== CLIPBOARD BAR ===== */
#clipboard-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}
#clipboard-bar.show {
  transform: translateY(0);
}
.clipboard-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.clipboard-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.clipboard-symbols {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.clipboard-symbols::-webkit-scrollbar {
  height: 4px;
}
.clipboard-symbol-item {
  padding: 0.25rem 0.6rem;
  background: #f1f5f9;
  border-radius: 0.25rem;
  font-size: 1.2rem;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  user-select: none;
  animation: scaleIn 0.2s ease-out;
}
@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.burst {
  position: absolute;
  pointer-events: none;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: burstOut 0.5s ease-out forwards;
  z-index: 2000;
}
@keyframes burstOut {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}
.clipboard-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.clipboard-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.clipboard-copy-btn {
  background: #000000;
  color: #ffffff;
  border: none;
}
.clipboard-copy-btn:hover {
  background: #0d9488;
  color: #ffffff;
  transform: translateY(-2px);
}
.clipboard-clear-btn {
  background: transparent;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}
.clipboard-clear-btn:hover {
  background: #f3f4f6;
  color: #ef4444;
  border-color: #ef4444;
}

@media (max-width: 768px) {
  #clipboard-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .clipboard-content {
    width: 100%;
  }
}

/* ===== CUTE FONTS PAGE STYLES ===== */
.font-section {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out forwards;
}

.font-category-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  text-transform: none !important;
  border: none !important;
}

.font-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.font-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.font-card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
}

.font-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.font-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  text-transform: none !important;
  text-decoration: none !important;
}

.font-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.font-card-btn {
  color: #94a3b8;
  font-size: 1.1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.font-card-btn:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #0d9488;
}

.font-card-btn.active {
  color: #ef4444;
}

.font-card-preview {
  font-size: 1.4rem;
  color: #1e293b;
  word-break: break-all;
  line-height: 1.4;
  text-decoration: none !important;
  text-transform: none !important;
}

/* FeedBack Toast */
.copy-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 148, 136, 0.95);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.font-card.copied .copy-feedback {
  opacity: 1;
}

@media (max-width: 768px) {
  .font-card-preview { font-size: 1.2rem; }
  .font-category-title { font-size: 1.2rem; }
}

/* ===== MODERN FOOTER STYLES ===== */
.footer {
  background: #ffffff;
  color: #334155;
  padding: 5rem 1.5rem 2rem;
  font-family: 'Outfit', sans-serif;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer { margin-left: 0 !important; }
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d9488;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #475569;
  transition: all 0.2s;
  text-decoration: none;
}

.footer-links-list a:hover {
  color: #0d9488;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(13, 148, 136, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.page-up-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 999px;
  color: #0d9488;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.05);
}

.page-up-btn:hover {
  transform: translateY(-3px);
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.2);
}

.page-up-icon {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .footer { padding: 4rem 1rem 2rem; }
  .footer-grid { gap: 2rem; text-align: center; }
  .footer-links-list { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}


/* ===== PREMIUM CONTENT ARTICLE ===== */
.content-article {
  max-width: 920px;
  margin: 4rem auto 3rem;
  padding: 0 1.5rem;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  line-height: 1.85;
}

.content-article h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.75rem;
  position: relative;
  letter-spacing: -0.02em;
}

.content-article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #0d9488, #2dd4bf, #5eead4);
  border-radius: 3px;
}

.content-article h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.5rem 0 0.8rem;
}

.content-article p { font-size: 1.02rem; color: #475569; margin-bottom: 1.3rem; }
.content-article ul, .content-article ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.content-article li { margin-bottom: 0.6rem; color: #475569; font-size: 1rem; }
.content-article strong { color: #0f172a; font-weight: 700; }
.content-article a { color: #0d9488; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(13,148,136,0.3); transition: all 0.2s ease; }
.content-article a:hover { color: #0f766e; border-bottom-color: #0d9488; }

/* Glassmorphism Info Box */
.info-box {
  background: linear-gradient(135deg, rgba(240,253,250,0.9), rgba(204,251,241,0.7));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13,148,136,0.2);
  border-left: 4px solid #0d9488;
  border-radius: 16px;
  padding: 1.8rem 2rem 1.8rem 2.5rem;
  margin: 2rem 0 2.5rem;
  font-size: 0.95rem;
  color: #134e4a;
  position: relative;
  box-shadow: 0 4px 20px rgba(13,148,136,0.06);
}
.info-box::before {
  content: '\1F4A1';
  position: absolute; top: -14px; left: 16px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fff, #f0fdfa);
  border-radius: 50%; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(13,148,136,0.15);
}

/* Premium Symbol Showcase */
.symbol-showcase {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1.2rem 0 2rem; padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #f0fdfa);
  border-radius: 16px; border: 1px solid rgba(13,148,136,0.12);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}
.symbol-showcase span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; font-size: 1.5rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  cursor: pointer; transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.symbol-showcase span:hover {
  border-color: #0d9488; transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(13,148,136,0.18); background: #f0fdfa;
}

/* Premium Feature Cards */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.25rem; margin: 2rem 0 2.5rem; }
.feature-card {
  background: #fff; border: 1px solid rgba(226,232,240,0.8); border-radius: 18px;
  padding: 1.8rem; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, #0d9488, #2dd4bf, #5eead4);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(13,148,136,0.12), 0 4px 12px rgba(0,0,0,0.04); border-color: rgba(13,148,136,0.25); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card-icon {
  font-size: 2.2rem; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; background: linear-gradient(135deg, #f0fdfa, #ccfbf1); border-radius: 14px;
}
.feature-card-title { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.feature-card-desc { font-size: 0.9rem; color: #64748b; line-height: 1.65; margin: 0; }

/* Premium Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 2rem 0 2.5rem; counter-reset: step; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 28px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, #0d9488, #2dd4bf, #0d9488); opacity: 0.2; z-index: 0; }
.step-item {
  text-align: center; padding: 2rem 1.2rem 1.5rem; background: #fff;
  border: 1px solid rgba(226,232,240,0.8); border-radius: 18px;
  position: relative; counter-increment: step;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.step-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(13,148,136,0.12); border-color: rgba(13,148,136,0.2); }
.step-item::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: linear-gradient(135deg, #0d9488, #2dd4bf);
  color: #fff; border-radius: 50%; font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1.2rem; box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.step-item h4 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.step-item p { font-size: 0.88rem; color: #64748b; margin: 0; line-height: 1.55; }

/* Premium FAQ */
.faq-list { margin: 2rem 0 2.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  border: 1px solid rgba(226,232,240,0.8); border-radius: 16px; overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1); background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.faq-item:hover { border-color: rgba(13,148,136,0.25); box-shadow: 0 4px 16px rgba(13,148,136,0.06); }
.faq-item.open { border-color: rgba(13,148,136,0.35); box-shadow: 0 6px 24px rgba(13,148,136,0.1); }
.faq-q {
  padding: 1.2rem 1.5rem; font-weight: 600; color: #0f172a; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: #fff; transition: all 0.25s ease; font-size: 0.98rem;
  font-family: 'Outfit', sans-serif;
}
.faq-q:hover { background: #f8fffe; }
.faq-q::after {
  content: '+'; font-size: 1.1rem; font-weight: 700; color: #fff;
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
  text-align: center; line-height: 30px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 8px rgba(13,148,136,0.25);
}
.faq-item.open .faq-q::after { content: '−'; background: linear-gradient(135deg, #0f766e, #0d9488); }
.faq-a {
  padding: 0 1.5rem; max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding 0.35s ease;
  color: #475569; font-size: 0.94rem; line-height: 1.75;
}
.faq-item.open .faq-a { padding: 1rem 1.5rem 1.5rem; max-height: 500px; border-top: 1px solid rgba(13,148,136,0.1); }

/* Premium Stats Banner */
.stats-banner {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  margin: 2.5rem 0; background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(13,148,136,0.2), 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
}
.stats-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none; z-index: 1;
}
.stat-item { color: #fff; padding: 2rem 1rem; text-align: center; position: relative; z-index: 2; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(255,255,255,0.15); }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; display: block; margin-bottom: 0.3rem; letter-spacing: -0.03em; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.stat-label { font-size: 0.82rem; opacity: 0.8; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }

/* Premium Category Pills */
.category-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 2rem; }
.category-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.15rem;
  background: #fff; border: 1px solid rgba(13,148,136,0.15); border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: #0d9488; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.category-pill:hover { background: linear-gradient(135deg, #0d9488, #14b8a6); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13,148,136,0.25); }

/* Premium Table */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 2rem 0 2.5rem; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(226,232,240,0.8); box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.comparison-table th { background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; padding: 1rem 1.4rem; text-align: left; font-weight: 700; font-size: 0.88rem; font-family: 'Outfit', sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.comparison-table td { padding: 1rem 1.4rem; border-bottom: 1px solid #f1f5f9; font-size: 0.92rem; color: #334155; transition: background 0.2s ease; }
.comparison-table td:first-child { font-weight: 600; color: #0f172a; }
.comparison-table tr:nth-child(even) td { background: rgba(248,250,252,0.6); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #f0fdfa; }

/* Premium Use Case Cards */
.use-case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin: 2rem 0 2.5rem; }
.use-case-card {
  background: #fff; border: 1px solid rgba(226,232,240,0.8); border-radius: 18px;
  padding: 1.5rem 1.2rem; text-align: center;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1); text-decoration: none; color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03); position: relative; overflow: hidden;
}
.use-case-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(135deg, #0d9488, #2dd4bf); transform: scaleX(0); transition: transform 0.35s ease; }
.use-case-card:hover { border-color: rgba(13,148,136,0.2); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(13,148,136,0.1); }
.use-case-card:hover::after { transform: scaleX(1); }
.use-case-icon { font-size: 2.2rem; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 0.8rem; background: linear-gradient(135deg, #f0fdfa, #ccfbf1); border-radius: 14px; }
.use-case-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.98rem; color: #0f172a; margin-bottom: 0.35rem; }
.use-case-desc { font-size: 0.83rem; color: #64748b; margin: 0; line-height: 1.5; }

/* Article Responsive */
@media (max-width: 768px) {
  .content-article { padding: 0 1rem; }
  .content-article h2 { font-size: 1.4rem; }
  .content-article h3 { font-size: 1.15rem; }
  .feature-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .use-case-grid { grid-template-columns: 1fr 1fr; }
  .comparison-table th, .comparison-table td { padding: 0.7rem 0.9rem; font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.8rem; }
}
