/* 
  Shared CSS for Text Styles Pages
  TheCoolSymbols 2025
*/

:root {
  --primary: #6366F1;
  --primary-light: #818CF8;
  --primary-dark: #4F46E5;
  --secondary: #F59E0B;
  --secondary-light: #FBBF24;
  --secondary-dark: #D97706;
  --accent: #EC4899;
  --accent-light: #F472B6;
  --text-dark: #1F2937;
  --text-light: #4B5563;
  --light: #F9FAFB;
  --light-alt: #F3F4F6;
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* === Header Styles === */
.header {
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-button-container {
  display: flex;
  gap: 1.5rem;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 101;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.nav-button {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.nav-button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-button:hover {
  color: var(--primary);
}

.nav-button:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button.active {
  color: var(--primary);
  background-color: rgba(99, 102, 241, 0.1);
}

.nav-button.active:before {
  transform: scaleX(1);
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(99, 102, 241, 0.1) 70%);
  opacity: 0.2;
  z-index: 0;
  animation: pulse 15s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, rgba(236, 72, 153, 0.1) 70%);
  opacity: 0.2;
  z-index: 0;
  animation: pulse 12s ease-in-out infinite alternate-reverse;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-dark), var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.hero-desc {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* === Search Container === */
.search-container {
  max-width: 650px;
  width: 100%;
  position: relative;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.search-container:hover {
  transform: translateY(-2px);
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  font-size: 1.1rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.search-input:focus + .search-icon {
  color: var(--accent);
}

/* === Main Content === */
.main-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: var(--radius);
}

/* === Card Styles === */
.text-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.8rem;
  position: relative;
}

.text-style-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--gray-200);
}

.text-style-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -8px rgba(99, 102, 241, 0.3);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.text-style-card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.2);
}

.text-style-card:hover::after {
  opacity: 1;
}

.text-style-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 1.5rem;
  height: 100%;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.4rem;
  color: var(--primary);
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 5px rgba(99, 102, 241, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.text-style-card:hover .card-icon {
  transform: scale(1.15) rotate(3deg);
  color: var(--accent);
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.text-style-card:hover .card-title {
  color: var(--primary-dark);
}

.text-style-card:hover .card-title::after {
  width: 40px;
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.25);
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.text-style-card:hover .card-badge {
  transform: translateZ(0) scale(1.1);
  box-shadow: 0 5px 12px rgba(99, 102, 241, 0.35);
}

/* === Categories Section === */
.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.category-pill {
  background: var(--white);
  color: var(--text-dark);
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.category-pill i {
  font-size: 1.1rem;
  color: var(--primary);
  transition: all 0.3s ease;
  transform: translateZ(0);
}

.category-pill:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
  border-color: transparent;
}

.category-pill:hover::before {
  transform: translateY(0);
}

.category-pill:hover i {
  color: var(--white);
  transform: translateZ(0) rotate(5deg) scale(1.2);
}

.category-pill.active {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.25);
}

.category-pill.active i {
  color: var(--white);
}

/* Filter Categories */
.filter-categories {
  margin-top: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.filter-categories .category-pill {
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  background-color: var(--gray-100);
}

.filter-categories .category-pill.active {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

/* === Newsletter Section === */
.newsletter-section {
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  padding: 3.5rem 0;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.7;
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  color: white;
  position: relative;
  z-index: 1;
}

.newsletter-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.newsletter-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  flex: 1;
  max-width: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.newsletter-input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: none;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--secondary);
}

.newsletter-button {
  background: linear-gradient(to right, var(--secondary), var(--secondary-light));
  color: white;
  border: none;
  padding: 0 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-button:hover {
  background: linear-gradient(to right, var(--secondary-dark), var(--secondary));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* === Footer === */
.footer {
  background-color: var(--white);
  padding: 4rem 0 3rem;
  margin-top: auto;
  border-top: 1px solid var(--gray-200);
  position: relative;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: 0.7;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-text {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-light);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-link i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover i {
  color: var(--white);
}

/* === Responsive Styles === */
@media (max-width: 1024px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .text-styles-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-logo {
    align-items: center;
  }
  
  .footer-nav {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .search-input {
    font-size: 0.95rem;
  }
  
  .categories-container {
    gap: 0.7rem;
  }
  
  .category-pill {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero::before,
  .hero::after {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .text-styles-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-button-container {
    gap: 0.5rem;
  }
  
  .nav-button {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .search-input {
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    font-size: 0.9rem;
  }
  
  .search-icon {
    font-size: 1rem;
    left: 1rem;
  }
  
  .header .container {
    padding: 0.8rem 1rem;
  }
  
  .logo-image {
    height: 35px;
  }
  
  .card-icon {
    font-size: 2.5rem;
    height: 60px;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .hero {
    padding: 4rem 0 2.5rem;
  }
  
  .newsletter-button {
    padding: 0 1.2rem;
    font-size: 0.9rem;
  }
  
  .category-pill {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }
}

/* === Animations === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.animate-slide-in {
  animation: slideInRight 0.6s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* === Scroll Bar === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* === About Box Styles === */
.about-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  margin: 5rem auto;
  box-shadow: var(--shadow-md);
  max-width: 1100px;
  position: relative;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.about-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.about-box h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-box p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.tool-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.tool-category {
  flex: 1 1 300px;
}

.tool-category h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tool-category h4 i {
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 50%;
  color: white;
}

.tools-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tools-list li {
  padding: 1.2rem;
  background-color: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2.5rem;
  border: 1px solid transparent;
}

.tools-list li::before {
  content: '✨';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.tools-list li:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.2);
  background-color: rgba(249, 250, 251, 0.8);
}

.tools-list li:hover::before {
  transform: translateY(-50%) rotate(15deg) scale(1.2);
  color: var(--accent);
}

.tools-list strong {
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.tool-description {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Feature List */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-light), var(--primary));
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(45deg, var(--primary), var(--accent));
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Example Section */
.examples-section {
  margin-top: 3rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.example-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.2);
}

.example-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.example-title i {
  color: var(--accent);
}

.example-content {
  padding: 1rem;
  background-color: var(--light);
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.example-output {
  padding: 1rem;
  background-color: var(--light-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

/* === Media Queries === */
@media (max-width: 992px) {
  .hamburger-menu {
    display: flex;
  }
  
  .nav-button-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 20px 30px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 100;
    overflow-y: auto;
  }
  
  .nav-button-container.active {
    right: 0;
  }
  
  .nav-button {
    margin: 0.5rem 0;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  /* Add overlay when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .search-input {
    padding: 0.75rem 1rem 0.75rem 3rem;
  }
  
  .categories-container {
    flex-direction: column;
    align-items: center;
  }
  
  .category-pill {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .text-style-card a {
    padding: 1.5rem 1rem;
  }
}
