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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  line-height: 1.6;
  background-attachment: fixed;
}

.top-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}

.nav-logo a {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo a:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-links a.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.container {
  max-width: 850px;
  margin: 0 auto;
  padding: 30px 20px;
}

.header {
  text-align: center;
  padding: 50px 0;
  color: #fff;
}

.title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.8s ease;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.main-content {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideIn 0.6s ease 0.3s both;
}

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

.section-title {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 20px;
  padding-left: 25px;
  border-left: 5px solid;
  border-image: linear-gradient(180deg, #667eea 0%, #764ba2 100%) 1;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 0 3px 3px 0;
}

.mode-section {
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.mode-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.mode-btn {
  padding: 14px 30px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #667eea 0%, #764ba2 100%) border-box;
  color: #667eea;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.mode-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: left 0.35s ease;
}

.mode-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.mode-btn:hover::before {
  left: 0;
}

.mode-btn:hover {
  color: #fff;
}

.mode-btn span {
  position: relative;
  z-index: 1;
}

.mode-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
}

.mode-description p {
  color: #64748b;
  font-size: 1rem;
  padding: 15px 20px;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid #667eea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.convert-section {
  padding: 30px;
}

.input-section,
.output-section {
  margin-bottom: 25px;
}

.input-section label,
.output-section label {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

#input-text {
  width: 100%;
  height: 140px;
  padding: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  font-size: 1.1rem;
  font-family: inherit;
  resize: vertical;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafbfc;
}

#input-text:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  background: #fff;
  transform: translateY(-2px);
}

#input-text::placeholder {
  color: #94a3b8;
}

.convert-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
}

.convert-btn {
  padding: 16px 50px;
  border: none;
  border-radius: 15px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.convert-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #7c8ff0 0%, #8b5bb3 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.convert-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
}

.convert-btn:hover::before {
  opacity: 1;
}

.convert-btn:active {
  transform: translateY(-2px);
}

.mixed-guide {
  background: linear-gradient(135deg, #ebf8ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  position: relative;
}

.mixed-guide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
  border-radius: 15px 15px 0 0;
}

.mixed-guide h3 {
  font-size: 1.15rem;
  color: #0369a1;
  margin-bottom: 18px;
  padding-top: 5px;
}

.syntax-rules {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rule-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.rule-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rule-item code {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid #93c5fd;
}

.rule-desc {
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
}

.rule-example {
  color: #059669;
  font-size: 0.95rem;
  font-family: monospace;
  margin-left: auto;
}

.output-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.output-box {
  display: flex;
  flex-direction: column;
  background: #fafbfc;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.output-box:hover {
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.output-label {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.output-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.output-content {
  flex: 1;
  min-height: 130px;
  padding: 18px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
  font-size: 1.3rem;
  line-height: 1.9;
  color: #1e293b;
  word-break: break-all;
  white-space: pre-wrap;
  transition: all 0.3s ease;
}

.output-content:focus {
  outline: none;
  border-color: #667eea;
}

.subscript-highlight {
  color: #667eea;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(102, 126, 234, 0.3);
}

.subscript-css {
  font-size: 0.7em;
  vertical-align: sub;
  color: #764ba2;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(118, 75, 162, 0.3);
}

.output-content:empty::before {
  content: '转换结果将显示在这里...';
  color: #94a3b8;
}

.copy-single-btn {
  align-self: flex-end;
  margin-top: 12px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.copy-single-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.output-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.action-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.copy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.copy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.copy-btn:hover::before {
  left: 100%;
}

.copy-btn.copied {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.clear-btn {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  color: #fff;
}

.clear-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.symbols-section {
  padding: 30px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  border-top: 1px solid #6ee7b7;
  position: relative;
}

.symbols-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.symbols-group {
  margin-bottom: 25px;
}

.symbols-group:last-child {
  margin-bottom: 0;
}

.symbols-group h3 {
  font-size: 1.15rem;
  color: #065f46;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.symbols-group h3::before {
  content: '';
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.symbols-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.symbol-item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

.symbol-item:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.symbol-item.copied {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  animation: pulse 0.5s ease;
}

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

.divider {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.4rem;
  pointer-events: none;
}

.letters-grid {
  gap: 8px;
}

.letters-grid .symbol-item {
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
}

.symbols-tip {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 12px;
  padding-left: 5px;
}

.preview-section {
  padding: 30px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border-top: 1px solid #fbbf24;
  position: relative;
}

.preview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
}

.preview-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.preview-item {
  background: #fff;
  padding: 16px 25px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.preview-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
  border-color: #fbbf24;
}

.preview-label {
  font-weight: 600;
  color: #92400e;
  margin-right: 12px;
}

.preview-text {
  font-size: 1.2rem;
  color: #1f2937;
  font-weight: 500;
}

.guide-section,
.faq-section {
  padding: 30px;
}

.guide-item {
  margin-bottom: 30px;
}

.guide-item:last-child {
  margin-bottom: 0;
}

.guide-item h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #667eea 0%, transparent 100%) 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-item h3::before {
  content: '';
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

.guide-item p {
  color: #475569;
  margin-bottom: 12px;
  font-size: 1rem;
}

.guide-item ul,
.guide-item ol {
  padding-left: 25px;
  margin-bottom: 12px;
}

.guide-item li {
  color: #475569;
  margin-bottom: 8px;
  position: relative;
}

.guide-item li::marker {
  color: #667eea;
}

.guide-item li strong {
  color: #2d3748;
}

.scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.scenario-item {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  border-left: 5px solid;
  border-image: linear-gradient(180deg, #667eea 0%, #764ba2 100%) 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.scenario-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.scenario-item h4 {
  color: #1e293b;
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-item h4::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
}

.scenario-item p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.examples {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
}

.example-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.example-item:last-child {
  margin-bottom: 0;
}

.example-item:hover {
  background: #f8fafc;
  transform: translateX(5px);
}

.example-label {
  font-weight: 600;
  color: #667eea;
  min-width: 85px;
  font-size: 0.95rem;
}

.example-input {
  color: #334155;
  font-family: monospace;
  font-size: 0.95rem;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
}

.example-arrow {
  color: #94a3b8;
  font-weight: bold;
  font-size: 1.1rem;
}

.example-output {
  color: #059669;
  font-family: monospace;
  font-size: 0.95rem;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 6px;
}

code {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.faq-item {
  margin-bottom: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 15px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
}

.faq-item:hover {
  background: #fff;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left-color: #667eea;
}

.faq-question {
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-question::before {
  content: 'Q';
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-answer {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 34px;
}

.formula-buttons-section {
  padding: 30px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
  border-top: 1px solid #818cf8;
}

.formula-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.formula-btn {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.formula-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.examples-section {
  padding: 30px;
}

.example-category {
  margin-bottom: 25px;
}

.example-category:last-child {
  margin-bottom: 0;
}

.example-category h3 {
  font-size: 1.15rem;
  color: #1e293b;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid #667eea;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.example-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 1rem;
  color: #334155;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.example-box:hover {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.footer {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  margin-top: 50px;
  width: 100%;
  padding: 40px 20px;
  margin-left: 0;
  margin-right: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.link-divider {
  color: rgba(255, 255, 255, 0.5);
  align-self: center;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-info p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .container {
    padding: 20px 15px;
  }

  .title {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .mode-buttons {
    flex-direction: column;
  }

  .mode-btn {
    width: 100%;
  }

  .convert-buttons {
    flex-direction: column;
  }

  .convert-btn {
    width: 100%;
  }

  .output-row {
    grid-template-columns: 1fr;
  }

  .preview-content {
    flex-direction: column;
  }

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

  .rule-item {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .symbols-grid {
    justify-content: center;
  }

  .symbol-item {
    width: 44px;
    height: 44px;
  }

  .faq-answer {
    padding-left: 0;
  }
}
