:root {
  --bg: #fafafa;
  --bg-gradient: radial-gradient(circle at 85% 0%, rgba(217, 119, 6, 0.04) 0%, transparent 40%),
                 radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.05) 0%, transparent 45%),
                 #fafafa;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-hover: #f1f5f9;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-light: rgba(5, 150, 105, 0.08);
  --accent-glow: rgba(5, 150, 105, 0.18);
  --dim: #64748b;
  --dim-light: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.04);
  --text: #0f172a;
  --text-inv: #ffffff;
  --heading: #1e293b;
  --gold: #d97706;
  --gold-dark: #b45309;
  --gold-light: rgba(217, 119, 6, 0.09);
  --gold-border: rgba(217, 119, 6, 0.22);
  --ring: rgba(5, 150, 105, 0.22);
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 1px 3px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 14px -2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 4px 18px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 14px 30px -4px rgba(5, 150, 105, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, textarea, select {
  font-family: inherit;
}

.font-amiri { font-family: 'Amiri', serif; }
.font-amiri-quran { font-family: 'Amiri Quran', serif; }
.font-kufi { font-family: 'Reem Kufi', sans-serif; }
.font-ruqaa { font-family: 'Aref Ruqaa', serif; }
.font-cairo { font-family: 'Cairo', sans-serif; }
.font-nastaliq { font-family: 'Noto Nastaliq Urdu', serif; }
.font-lalezar { font-family: 'Lalezar', cursive; }
.font-messiri { font-family: 'El Messiri', sans-serif; }
.font-katibeh { font-family: 'Katibeh', serif; }
.font-rakkas { font-family: 'Rakkas', cursive; }
.font-tajawal { font-family: 'Tajawal', sans-serif; }
.font-markazi { font-family: 'Markazi Text', serif; }
.font-changa { font-family: 'Changa', sans-serif; }
.font-harmattan { font-family: 'Harmattan', sans-serif; }
.font-scheherazade { font-family: 'Scheherazade New', serif; }
.font-lateef { font-family: 'Lateef', serif; }
.font-mada { font-family: 'Mada', sans-serif; }
.font-qahiri { font-family: 'Qahiri', sans-serif; }
.font-kufam { font-family: 'Kufam', sans-serif; }
.font-mirza { font-family: 'Mirza', cursive; }
.font-gulzar { font-family: 'Gulzar', serif; }
.font-alexandria { font-family: 'Alexandria', sans-serif; }

.site-header {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(6, 95, 70, 0.16);
}
.header-container {
  max-width: 84rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.site-brand {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: opacity 0.15s ease;
}
.site-brand:hover {
  opacity: 0.92;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}
.site-nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: transparent !important;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.nav-link:hover {
  color: #ffffff;
  background: transparent !important;
  opacity: 1;
}
.nav-link.active {
  color: #ffffff;
  background: transparent !important;
  font-weight: 800;
  border: none !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  .site-overlay,
  .sidebar-header,
  .sidebar-footer,
  .nav-icon,
  .mobile-only-nav {
    display: none !important;
  }
}

.site-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .menu-toggle {
    display: inline-flex;
    order: -1;
  }
  .site-brand {
    order: 1;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.25);
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .site-nav.is-open {
    right: 0;
  }
  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
  }
  .sidebar-brand-text {
    font-size: 1.15rem;
    font-weight: 900;
    color: #065f46;
  }
  .sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
  }
  .sidebar-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    margin: 0;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: right;
    transition: all 0.15s ease;
  }
  .nav-link:hover {
    background: rgba(5, 150, 105, 0.08) !important;
    color: #047857 !important;
  }
  .nav-link.active {
    background: rgba(5, 150, 105, 0.1) !important;
    color: #047857 !important;
    font-weight: 800;
    border-right: 3px solid #059669 !important;
  }
  .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #059669;
    flex-shrink: 0;
  }
  .sidebar-footer {
    margin-top: auto;
    padding: 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
  }
  .sidebar-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .sidebar-legal-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
  }
  .sidebar-legal-links a:hover {
    color: #059669;
  }
  .sidebar-legal-links span {
    color: #cbd5e1;
  }
  .sidebar-copy {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0;
  }
}

.breadcrumbs {
  max-width: 84rem;
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--dim);
  font-weight: 600;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs span {
  opacity: 0.5;
}

.seo-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}
.prose-container {
  max-width: 56rem;
  margin: 0 auto;
}
.prose-container h2 {
  font-size: 1.95rem;
  font-weight: 900;
  color: var(--heading);
  margin-bottom: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.prose-container h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.35rem 0 0.95rem;
}
.prose-container p {
  color: var(--dim);
  line-height: 1.95;
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
}
.prose-container ol {
  list-style: decimal inside;
  color: var(--dim);
  line-height: 1.95;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}
.prose-container ol li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}
.prose-container ul {
  list-style: disc inside;
  color: var(--dim);
  line-height: 1.95;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}
.prose-container li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}
.prose-container strong {
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem;
}
.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.45rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  border-right: 3px solid var(--accent);
}
.feature-item:hover {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-item h3, .feature-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.feature-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--dim);
  line-height: 1.7;
}

.cta-box {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: center;
  margin: 2.75rem 0 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.cta-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.cta-box p {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0;
  line-height: 1.8;
}

.faq-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}
.faq-box:hover {
  border-color: rgba(5, 150, 105, 0.25);
}
.faq-question {
  padding: 1.2rem 1.4rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}
.faq-question:hover {
  background: var(--surface-alt);
}
.faq-icon {
  font-size: 0.85rem;
  color: var(--dim);
  transition: transform 0.25s ease;
}
.faq-box.open {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: var(--shadow-sm);
}
.faq-box.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-answer {
  display: none;
  padding: 0 1.4rem 1.4rem;
  color: var(--dim);
  line-height: 1.85;
  font-size: 0.98rem;
}
.faq-box.open .faq-answer {
  display: block;
}

.about-wrap, .contact-wrap, .privacy-wrap, .terms-wrap, .disclaimer-wrap, .content-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  flex: 1;
  width: 100%;
}
.about-header, .contact-header, .privacy-header, .terms-header, .disclaimer-header, .content-header {
  text-align: center;
  margin-bottom: 2rem;
}
.about-badge, .contact-badge, .privacy-badge, .terms-badge, .disclaimer-badge, .content-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.about-title, .contact-title, .privacy-title, .terms-title, .disclaimer-title, .content-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.about-subtitle, .contact-subtitle, .privacy-date, .terms-date, .disclaimer-date, .content-subtitle {
  color: var(--dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.mission-box, .sla-box, .guarantee-box, .welcome-box, .notice-box, .intro-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(217, 119, 6, 0.06) 100%);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.mission-icon, .sla-icon, .guarantee-icon, .welcome-icon, .notice-icon, .intro-icon {
  font-size: 1.8rem;
  color: var(--accent);
}
.mission-content h2, .sla-info h2, .guarantee-content h2, .welcome-content h2, .notice-content h2, .intro-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.25rem;
}
.mission-content p, .sla-info p, .guarantee-content p, .welcome-content p, .notice-content p, .intro-content p {
  color: var(--dim);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
.about-card, .form-card, .info-card, .privacy-card, .terms-card, .disclaimer-card, .content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}
.about-section, .policy-section, .content-section {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.about-section:last-child, .policy-section:last-child, .content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.about-section h2, .policy-section h2, .form-card h2, .info-card h3, .content-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.75rem;
}
.about-section p, .policy-section p, .content-section p {
  color: var(--dim);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.policy-list {
  list-style: none;
  margin: 1rem 0;
  padding-right: 0;
}
.policy-list li {
  position: relative;
  padding-right: 1.5rem;
  color: var(--dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.policy-list li::before {
  content: "✦";
  position: absolute;
  right: 0;
  color: var(--accent);
}

.privacy-card .link-accent,
.policy-section a.link-accent {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  word-break: break-all;
  overflow-wrap: anywhere;
  display: inline;
  direction: ltr;
  unicode-bidi: embed;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.privacy-card .link-accent:hover,
.policy-section a.link-accent:hover {
  color: #1e40af;
  text-decoration-color: #1e40af;
}
.privacy-card .link-accent:focus-visible,
.policy-section a.link-accent:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 2px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.form-label span {
  color: #ef4444;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: 1px solid #047857;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: auto;
  max-width: max-content;
  text-decoration: none;
}
form .btn-green, .btn-green.btn-block {
  width: 100%;
  max-width: 100%;
}
.btn-green:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
  color: #ffffff;
}
.btn-green:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }
}
.contact-card .contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.contact-card .contact-info strong {
  color: var(--heading);
  font-size: 1rem;
  font-weight: 800;
}
.contact-card .contact-info span {
  color: var(--dim);
  font-size: 0.88rem;
  line-height: 1.6;
}
.contact-card .btn-green {
  white-space: nowrap;
  flex-shrink: 0;
  width: auto;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}
.success-alert {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #065f46;
}
.success-alert.show {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-item {
  display: flex;
  gap: 0.75rem;
}
.info-item-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.info-item-content span {
  color: var(--dim);
  font-size: 0.9rem;
}
.info-item-content a {
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  direction: ltr;
  unicode-bidi: embed;
  word-break: break-all;
  display: inline-block;
  transition: color 0.15s ease;
}
.info-item-content a:hover {
  color: #1e40af;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 2.75rem 1.25rem;
  margin-top: 4rem;
  color: var(--dim);
  font-size: 0.9rem;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.02);
}
.footer-inner {
  max-width: 84rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    text-align: right;
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.footer-links a, .footer-link {
  color: var(--dim);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}
.footer-links a:hover, .footer-link:hover {
  color: var(--accent);
}

.btn-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.btn-scroll-top:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}
.btn-scroll-top:active {
  transform: translateY(0);
}
.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-scroll-top svg {
  display: block;
  stroke: #ffffff;
  transition: transform 0.2s ease;
}
.btn-scroll-top:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .btn-scroll-top {
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    width: 42px;
    height: 42px;
  }
}

