@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0a0a1a;
  --bg-card: rgba(20, 20, 45, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --bg-input: rgba(15, 15, 35, 0.9);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(108, 92, 231, 0.4);
  --primary: #6C5CE7;
  --primary-light: #a29bfe;
  --primary-dark: #4834d4;
  --accent: #00CEC9;
  --accent-light: #55efc4;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #6c6c85;
  --success: #00b894;
  --warning: #fdcb6e;
  --danger: #e17055;
  --info: #74b9ff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 206, 201, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(108, 92, 231, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ═══ HEADER ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 400;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 0.7rem;
}

@media (min-width: 901px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    min-width: 220px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-glass);
    background: rgba(20, 20, 45, 0.95);
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu {
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 0.5rem;
  transition: var(--transition);
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.dropdown-menu a:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  /* Above mobile menu */
}

.mobile-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-primary);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: block;
    /* Override flex */
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem 0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    padding-bottom: 4rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    /* Less vertical, standard horizontal */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    display: block;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown>a::after {
    float: right;
    transition: transform 0.3s ease;
  }

  .nav-dropdown.active>a::after {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    left: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
    /* Show when active */
  }
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 2rem 4rem;
  max-width: 850px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.badge .icon {
  color: var(--accent);
}

/* ═══ SECTIONS ═══ */
.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ═══ TOOL CARDS GRID ═══ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.tool-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.tool-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tool-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.2rem;
}

.tool-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.tool-card .card-link:hover {
  color: var(--accent);
  gap: 0.5rem;
}

/* ═══ FEATURES ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
}

.feature-item .f-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ═══ TOOL DETAILS ═══ */
.tool-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tool-detail-item {
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tool-detail-item:hover {
  border-color: var(--border-hover);
}

.tool-detail-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--primary-light);
}

.tool-detail-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ═══ AUDIENCE ═══ */
.audience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.audience-tag {
  padding: 0.6rem 1.4rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.audience-tag:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  color: var(--primary-light);
}

/* ═══ CTA ═══ */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(108, 92, 231, 0.45);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #00b894);
  color: #0a0a1a;
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 206, 201, 0.35);
  color: #0a0a1a;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ═══ FOOTER ═══ */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(5, 5, 15, 0.9);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-about .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ═══ TOOL PAGE STYLES ═══ */
.tool-page {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.tool-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tool-page .tool-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.tool-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.tool-box label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.tool-input,
.tool-textarea,
.tool-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.tool-input:focus,
.tool-textarea:focus,
.tool-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.tool-textarea {
  min-height: 180px;
  resize: vertical;
}

.tool-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.tool-select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

.input-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-group {
  margin-bottom: 1rem;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Results */
.results-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
  display: none;
}

.results-box.show {
  display: block;
}

.results-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

/* Tables */
.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.results-table th,
.results-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}

.results-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-table tr:hover {
  background: var(--bg-glass);
}

.results-table td {
  color: var(--text-secondary);
}

/* Status badges */
.status-ok {
  color: var(--success);
  font-weight: 600;
}

.status-error {
  color: var(--danger);
  font-weight: 600;
}

.status-warn {
  color: var(--warning);
  font-weight: 600;
}

.tag-dofollow {
  background: rgba(0, 184, 148, 0.15);
  color: var(--success);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-nofollow {
  background: rgba(225, 112, 85, 0.15);
  color: var(--danger);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Score display */
.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem auto;
  position: relative;
}

.score-good {
  border: 4px solid var(--success);
  color: var(--success);
}

.score-ok {
  border: 4px solid var(--warning);
  color: var(--warning);
}

.score-bad {
  border: 4px solid var(--danger);
  color: var(--danger);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}

.metric-card .metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.metric-card .metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Copy buttons */
.copy-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.copy-btn.copied {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

/* Generated items list */
.generated-list {
  list-style: none;
}

.generated-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.generated-item:hover {
  border-color: var(--border-hover);
}

.generated-item .item-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-right: 1rem;
}

/* Code output */
.code-output {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  position: relative;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-glass);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--text-secondary);
}

.loading-overlay.show {
  display: flex;
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-glass);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}

/* Image tool area */
.upload-area {
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.05);
}

.upload-area .upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.upload-area p {
  color: var(--text-secondary);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.preview-area {
  position: relative;
  margin-top: 1.5rem;
  display: none;
}

.preview-area.show {
  display: block;
}

.preview-area img,
.preview-area canvas {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}

/* Range sliders */
input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-glass);
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--bg-dark);
}

/* Content article styles */
.content-article {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.content-article h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--primary-light);
}

.content-article h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
}

.content-article p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.content-article ul,
.content-article ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-article li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* Static pages */
.static-page {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.static-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.static-page h2 {
  color: var(--primary-light);
  margin: 2rem 0 0.75rem;
  font-size: 1.3rem;
}

.static-page h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.static-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.static-page ul,
.static-page ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.static-page li {
  margin-bottom: 0.5rem;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
}

.contact-form .input-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .contact-form .input-pair {
    grid-template-columns: 1fr;
  }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 3px solid var(--success);
}

.toast.error {
  border-left: 3px solid var(--danger);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.gap-1 {
  gap: 0.5rem;
}

.hidden {
  display: none !important;
}