/* ==========================================================
   امداد خودرو و یدک‌کش یحیایی مشهد - استایل اختصاصی و پرسرعت
   بدون وابستگی به CDNهای خارجی
   ========================================================== */

:root {
  --bg: #0A0A0A;
  --panel: #141414;
  --panel2: #1A1A1A;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: #F97316;
  --brand: #F97316;
  --brand2: #EA580C;
  --navy: #0F1B3C;
  --navy2: #152552;
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-sub: rgba(255, 255, 255, 0.45);
  --success: #22C55E;
  --danger: #EF4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--brand);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Animations */
@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); }
  50% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0); }
}

.pulse-emergency {
  animation: pulse-emergency 2s infinite;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  display: inline-block;
  vertical-align: middle;
}

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

/* ===================== HEADER ===================== */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.header-scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.top-announcement {
  background: linear-gradient(90deg, var(--navy), var(--navy2) 50%, var(--brand));
  color: #fff;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

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

.logo-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; }
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.call-btn-header {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .call-btn-header { display: flex; }
}

.call-btn-header:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 800;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  display: block;
}

@media (min-width: 768px) {
  .menu-toggle-btn { display: none; }
}

/* Mobile Menu */
#mobileMenu {
  display: none;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
}

#mobileMenu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================== HERO SECTION ===================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.88) 50%, rgba(10, 10, 10, 0.65) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}

.text-gradient {
  color: var(--brand);
  background: linear-gradient(90deg, #F97316, #FDBA74);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta-group { flex-direction: row; }
}

.btn-hero-call {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-hero-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
}

.btn-hero-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-hero-form:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.highlight-item svg {
  color: var(--brand);
}

/* ===================== GALLERY ===================== */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.section-subtitle {
  color: var(--text-sub);
  font-size: 0.95rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
  position: relative;
  background: var(--panel);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

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

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.trust-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-top: 0.4rem;
}

/* ===================== FORM SECTION ===================== */
.form-card {
  max-width: 750px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--panel2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .form-card { padding: 3rem; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .col-span-2 { grid-column: span 2; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  right: 1rem;
  color: var(--text-sub);
  pointer-events: none;
}

.form-input, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s;
  outline: none;
}

.form-input.has-icon {
  padding-right: 2.75rem;
}

.form-input:focus, .form-select:focus {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-sub);
  font-size: 0.88rem;
}

.form-select option {
  background: var(--panel);
  color: #fff;
}

/* GPS Button inside Form */
.btn-gps {
  margin-top: 0.4rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px dashed rgba(249, 115, 22, 0.4);
  color: var(--brand);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-gps:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--brand);
}

.btn-gps.loading {
  opacity: 0.7;
  cursor: wait;
}

.form-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.5);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Success & Error States */
.form-feedback {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

.form-feedback.active {
  display: block;
}

.feedback-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
}

.feedback-success .feedback-icon {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.feedback-error .feedback-icon {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.4);
}

.service-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
}

.icon-orange { background: linear-gradient(135deg, #F97316, #EF4444); }
.icon-yellow { background: linear-gradient(135deg, #F59E0B, #F97316); }
.icon-blue   { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.icon-green  { background: linear-gradient(135deg, #10B981, #059669); }

.service-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===================== WHY US ===================== */
.why-us-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.why-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  background: rgba(249, 115, 22, 0.15);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.why-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-stars {
  color: #F59E0B;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* ===================== COVERAGE ===================== */
.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 850px;
  margin: 0 auto;
}

.pill {
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.pill-highlight {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: var(--brand);
  font-weight: 800;
}

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
}

.faq-chevron {
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 7rem;
}

@media (min-width: 768px) {
  .site-footer { padding-bottom: 3rem; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-col p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-sub);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* ===================== STICKY MOBILE CALL BAR ===================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .mobile-sticky-bar { display: none; }
}

.sticky-btn-call {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sticky-btn-req {
  flex: 1;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
}

/* ===================== MODAL ===================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close-btn:hover {
  color: #fff;
}

/* ===================== CUSTOM ALERT / MESSAGE BOX ===================== */
.notice-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.notice-overlay.open {
  display: flex;
  opacity: 1;
}

.notice-card {
  background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.1) 0%, #161616 60%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 26px;
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(249, 115, 22, 0.15);
  transform: scale(0.9) translateY(15px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.notice-overlay.open .notice-card {
  transform: scale(1) translateY(0);
}

.notice-close-x {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.notice-close-x:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.notice-icon-box {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  transition: transform 0.3s ease;
}

.notice-overlay.open .notice-icon-box {
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.notice-icon-box.warning {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: var(--brand);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.25);
}

.notice-icon-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: var(--danger);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.25);
}

.notice-icon-box.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: var(--success);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.25);
}

.notice-icon-svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 2.2;
}

.notice-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #fff;
}

.notice-text {
  font-size: 0.96rem;
  color: #D1D5DB;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.notice-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.4);
  font-family: inherit;
  outline: none;
}

.notice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.6);
}

.notice-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.5), 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* Input Shake Animation on validation error */
@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.input-shake {
  animation: input-shake 0.4s ease;
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}
