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

:root {
  --bg-color-light: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-color-light-alt: #f8f9fa;
  --text-color-light: #2d3748;
  --container-bg-light: #ffffff;
  --button-bg-light: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --button-text-light: #fff;
  --header-text-light: #1a202c;
  --accent-color-light: #667eea;

  --bg-color-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --bg-color-dark-alt: #0f0f0f;
  --text-color-dark: #e2e8f0;
  --container-bg-dark: #1e2738;
  --button-bg-dark: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --button-text-dark: #fff;
  --header-text-dark: #f7fafc;
  --accent-color-dark: #f093fb;

  --font-primary: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

body {
  font-family: var(--font-primary);
  background-attachment: fixed;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body.dark-mode {
  background: var(--bg-color-dark);
  color: var(--text-color-dark);
}

body.dark-mode::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(252, 70, 107, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body:not(.dark-mode) {
  background: var(--bg-color-light);
  color: var(--text-color-light);
}

body:not(.dark-mode)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 3rem;
  border-radius: var(--radius-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

body.dark-mode .container {
  background: rgba(30, 39, 56, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

body:not(.dark-mode) .container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-xl),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color-light), transparent);
  opacity: 0.3;
}

body.dark-mode header::after {
  background: linear-gradient(90deg, transparent, var(--accent-color-dark), transparent);
}

header h1 {
  margin: 0;
  font-size: 2.8rem;
  font-family: var(--font-secondary);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

body.dark-mode header h1 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(10deg); }
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.theme-switcher label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

button {
  padding: 1.2rem 3rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::before {
  width: 300px;
  height: 300px;
}

button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

button:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: var(--shadow-md);
}

body.dark-mode button {
  background: var(--button-bg-dark);
  color: var(--button-text-dark);
}

body:not(.dark-mode) button {
  background: var(--button-bg-light);
  color: var(--button-text-light);
}

#recommend-btn {
  font-size: 1.2rem;
  padding: 1.4rem 3.5rem;
}

#recommendation-display {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.recommendation-card {
  text-align: center;
  padding: 4rem 3rem;
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeIn 0.4s ease, scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

body.dark-mode .recommendation-card {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
  border: 2px solid rgba(240, 147, 251, 0.2);
  box-shadow: var(--shadow-xl),
              0 0 50px rgba(240, 147, 251, 0.1);
}

body:not(.dark-mode) .recommendation-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
  box-shadow: var(--shadow-xl),
              0 0 50px rgba(102, 126, 234, 0.1);
}

.recommendation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.food-emoji {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}

.food-name {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .food-name {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-badge {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: var(--radius-lg);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}

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

/* Tablet Styles */
@media (max-width: 1024px) {
  .container {
    max-width: 90%;
    padding: 2.5rem;
  }

  header h1 {
    font-size: 2.4rem;
  }

  .food-emoji {
    font-size: 5rem;
  }

  .food-name {
    font-size: 2.4rem;
  }
}

/* Mobile Landscape & Large Mobile */
@media (max-width: 768px) {
  .container {
    padding: 2rem;
    margin: 1.5rem auto;
    border-radius: var(--radius-lg);
  }

  header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .food-emoji {
    font-size: 4.5rem;
  }

  .food-name {
    font-size: 2.2rem;
  }

  .category-badge {
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
  }

  #recommend-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
  }

  .recommendation-card {
    padding: 3rem 2rem;
  }
}

/* Small Mobile */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
    margin: 1rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .controls {
    flex-direction: column;
  }

  .recommendation-card {
    padding: 2.5rem 1.5rem;
  }

  .food-emoji {
    font-size: 4rem;
  }

  .food-name {
    font-size: 1.9rem;
  }

  .category-badge {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
  }

  #recommendation-display {
    min-height: 250px;
  }

  #recommend-btn {
    font-size: 1rem;
    padding: 1.1rem 2rem;
    width: 100%;
  }

  .feature-icon {
    font-size: 3rem;
  }

  .feature-card,
  .category-item {
    padding: 1.5rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .container {
    padding: 1rem;
    margin: 0.5rem;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .food-emoji {
    font-size: 3.5rem;
  }

  .food-name {
    font-size: 1.7rem;
  }

  .category-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  #recommend-btn {
    padding: 1rem 1.5rem;
  }
}

/* Top Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

body.dark-mode .top-nav {
  background: rgba(30, 39, 56, 0.9);
  border-bottom: 2px solid rgba(240, 147, 251, 0.2);
}

body:not(.dark-mode) .top-nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.nav-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

body.dark-mode .nav-link::before {
  background: linear-gradient(90deg, #f093fb, #f5576c);
}

.nav-link:hover::before {
  width: 80%;
}

body.dark-mode .nav-link {
  color: var(--text-color-dark);
}

body:not(.dark-mode) .nav-link {
  color: var(--text-color-light);
}

.nav-link:hover {
  transform: translateY(-2px);
}

body.dark-mode .nav-link:hover {
  background: rgba(240, 147, 251, 0.1);
}

body:not(.dark-mode) .nav-link:hover {
  background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
  font-weight: 700;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
}

body.dark-mode .nav-link.active {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.15), rgba(245, 87, 108, 0.15));
}

.nav-link.active::before {
  width: 80%;
}

/* Intro Section */
.intro-section {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid;
}

body.dark-mode .intro-section {
  border-bottom-color: rgba(255,255,255,0.1);
}

body:not(.dark-mode) .intro-section {
  border-bottom-color: rgba(0,0,0,0.1);
}

.intro-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.intro-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

/* Features Section */
.features-section {
  padding: 3rem 0;
  margin: 3rem 0;
}

.features-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

body.dark-mode .feature-card {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.05), rgba(245, 87, 108, 0.05));
  border: 1px solid rgba(240, 147, 251, 0.1);
}

body:not(.dark-mode) .feature-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

body.dark-mode .feature-card:hover {
  border-color: rgba(240, 147, 251, 0.3);
}

body:not(.dark-mode) .feature-card:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* Categories Section */
.categories-section {
  padding: 3rem 0;
  margin: 3rem 0;
}

.categories-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

body.dark-mode .category-item {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.08), rgba(245, 87, 108, 0.08));
  border: 1px solid rgba(240, 147, 251, 0.15);
  box-shadow: var(--shadow-md);
}

body:not(.dark-mode) .category-item {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border: 1px solid rgba(102, 126, 234, 0.15);
  box-shadow: var(--shadow-md);
}

.category-item::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0;
  transition: all 0.5s ease;
}

.category-item:hover::after {
  opacity: 1;
  top: -20%;
  right: -20%;
}

.category-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

body.dark-mode .category-item:hover {
  border-color: rgba(240, 147, 251, 0.3);
}

body:not(.dark-mode) .category-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.category-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.category-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* How To Section */
.how-to-section {
  padding: 3rem 0;
  margin: 3rem 0;
  text-align: center;
}

.how-to-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, #F39C12, #E67E22);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

.step p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 2rem 1rem;
  border-top: 1px solid;
}

body.dark-mode .site-footer {
  background: rgba(0,0,0,0.3);
  border-top-color: rgba(255,255,255,0.1);
}

body:not(.dark-mode) .site-footer {
  background: rgba(0,0,0,0.02);
  border-top-color: rgba(0,0,0,0.1);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #E67E22;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  opacity: 0.8;
}

body.dark-mode .footer-section ul li a {
  color: var(--text-color-dark);
}

body:not(.dark-mode) .footer-section ul li a {
  color: var(--text-color-light);
}

.footer-section ul li a:hover {
  color: #E67E22;
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid;
}

body.dark-mode .footer-bottom {
  border-top-color: rgba(255,255,255,0.1);
}

body:not(.dark-mode) .footer-bottom {
  border-top-color: rgba(0,0,0,0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Content Page Styles */
.content-page {
  max-width: 800px;
  margin: 0 auto;
}

.about-section,
.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid;
}

body.dark-mode .about-section,
body.dark-mode .privacy-section {
  border-bottom-color: rgba(255,255,255,0.1);
}

body:not(.dark-mode) .about-section,
body:not(.dark-mode) .privacy-section {
  border-bottom-color: rgba(0,0,0,0.1);
}

.about-section:last-child,
.privacy-section:last-child {
  border-bottom: none;
}

.about-section h2,
.privacy-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #E67E22;
}

.about-section p,
.privacy-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.feature-list,
.privacy-list {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.feature-list li,
.privacy-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.last-updated {
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.privacy-section a {
  color: #E67E22;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.privacy-section a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
  .nav-container {
    max-width: 90%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-nav {
    padding: 1rem 0;
  }

  .nav-container {
    gap: 0.8rem;
    padding: 0 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .intro-section h2 {
    font-size: 1.8rem;
  }

  .intro-section p {
    font-size: 1rem;
  }

  .features-section h2,
  .categories-section h2,
  .how-to-section h2 {
    font-size: 1.8rem;
  }

  .features-grid,
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }

  .intro-section h2 {
    font-size: 1.5rem;
  }

  .intro-section p {
    font-size: 0.95rem;
  }

  .features-section h2,
  .categories-section h2,
  .how-to-section h2 {
    font-size: 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .about-section h2,
  .privacy-section h2 {
    font-size: 1.4rem;
  }

  .about-section p,
  .privacy-section p,
  .feature-list li,
  .privacy-list li {
    font-size: 0.9rem;
  }

  .feature-card h3,
  .category-item h3 {
    font-size: 1.2rem;
  }

  .feature-card p,
  .category-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 375px) {
  .intro-section h2,
  .features-section h2,
  .categories-section h2,
  .how-to-section h2 {
    font-size: 1.3rem;
  }

  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
}
