/* ==========================================================================
   SSSTikTok (SSSTik.win) - Core Design System & Utilities
   Optimized for 100/100 Core Web Vitals & Premium Aesthetics
   ========================================================================== */

:root {
  /* Color Palette - Vibrant Modern Gradient & Deep Tech Hues */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  --accent: #ec4899;
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  --hero-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #d946ef 100%);
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.92);
  --bg-dark: #0f172a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #6366f1;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 35px -10px rgb(99 102 241 / 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover,
.mobile-toggle.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.3);
}

.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle.active .icon-menu {
  display: none;
}

.mobile-toggle.active .icon-close {
  display: block;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--hero-gradient);
  color: var(--text-light);
  padding: 3.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}

/* Hero Downloader Card */
.downloader-box {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.3);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.input-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.35rem 0.5rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.input-icon {
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  color: var(--text-muted);
}

.url-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  padding: 0.85rem 0.5rem;
  color: var(--text-main);
  background: transparent;
  width: 100%;
}

.url-input::placeholder {
  color: #94a3b8;
  font-size: 0.95rem;
}

.btn-paste {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-main);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-paste:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.btn-clear {
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem;
  display: none;
  border-radius: var(--radius-full);
}

.btn-clear:hover {
  color: var(--text-main);
  background: #f1f5f9;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-download:active {
  transform: translateY(0);
}

/* Helper Text */
.input-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Loading & Alert State */
.loading-box {
  display: none;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-main);
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.alert-message {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-align: left;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* ==========================================================================
   Result Box Section
   ========================================================================== */
.result-card {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: left;
  animation: fadeIn 0.3s ease forwards;
}

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

.result-header {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.result-thumb-wrap {
  position: relative;
  width: 120px;
  min-width: 120px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
}

.result-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.result-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.result-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.result-nickname {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}

.result-handle {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.result-title {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Action Buttons Grid */
.download-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-align: center;
}

.btn-hd {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-hd:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-nowm {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-nowm:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-mp3 {
  background: #f43f5e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.btn-mp3:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-reset {
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-reset:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   Features Strip
   ========================================================================== */
.features-strip {
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-pill-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform var(--transition-normal);
}

.feature-pill-card:hover {
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   How It Works (Step by Step)
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.step-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 2-Column Device Showcase */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  margin-top: 3rem;
}

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

.showcase-img-wrap {
  text-align: center;
  position: relative;
}

.showcase-img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}

.showcase-content h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.showcase-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.check-list svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   SEO Content & MP3 Section
   ========================================================================== */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.seo-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.seo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.seo-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.2s ease;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e293b;
}

.footer-brand h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-desc {
  max-width: 420px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

/* Our Network Links & Badges */
.network-links li {
  margin-bottom: 0.75rem;
}

.network-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition-fast) !important;
  width: 100%;
  justify-content: space-between;
}

.network-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transform: translateX(3px);
}

.network-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.network-item svg {
  color: #94a3b8;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.network-item:hover svg {
  color: #ffffff;
  transform: translate(2px, -2px);
}

.footer-disclaimer {
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .showcase-row,
  .showcase-row.reversed {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .showcase-row.reversed .showcase-img-wrap {
    order: -1;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 16px 30px -6px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.5rem;
    z-index: 49;
  }

  .nav-links.show {
    display: flex;
    animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid var(--border-color);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(99, 102, 241, 0.25);
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-section {
    padding: 2.5rem 0 4rem;
  }

  .input-form {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .input-icon {
    display: none;
  }

  .url-input {
    padding: 0.5rem 0;
    text-align: center;
  }

  .btn-download {
    width: 100%;
  }

  .btn-paste {
    width: 100%;
    justify-content: center;
  }

  .result-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .result-author {
    justify-content: center;
  }

  .result-stats {
    justify-content: center;
  }
}

/* ==========================================================================
   Breadcrumbs & Article Layout (For Support & Guide Pages)
   ========================================================================== */
.breadcrumbs-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  font-size: 0.85rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs-list a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumbs-list a:hover {
  color: var(--primary);
}

.breadcrumbs-list .current {
  color: var(--text-main);
  font-weight: 600;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

/* Long-Form Article & Content Sections */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-main);
}

.article-body p {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.article-body ul, 
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.article-callout p {
  color: var(--text-main);
  margin-bottom: 0;
  font-weight: 500;
}

/* Modern Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.comparison-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-main);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: #f8fafc;
}

.badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #059669;
  background: #ecfdf5;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-no {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #dc2626;
  background: #fef2f2;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   Conclusion Section
   ========================================================================== */
.section-conclusion {
  padding: 3.5rem 0 5rem;
}

.conclusion-card {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.1), var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.conclusion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--hero-gradient);
}

.conclusion-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.conclusion-title {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.conclusion-content {
  text-align: left;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.conclusion-content p {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.conclusion-content p:last-child {
  margin-bottom: 0;
}

.conclusion-cta-wrap {
  margin-top: 2rem;
}

.btn-conclusion-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  transition: all var(--transition-normal);
}

.btn-conclusion-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
}

@media (max-width: 640px) {
  .conclusion-card {
    padding: 2rem 1.25rem;
  }
}

