/* ==========================================================================
   SJA THEME — MAIN STYLESHEET
   Colors are written as CSS variables and are overridden inline from the
   WordPress Customizer (see inc/customizer.php) so every color in this file
   can be changed from the dashboard without touching code.
   ========================================================================== */

:root {
  --purple-deep: #4A0080;
  --purple-mid: #8B00CC;
  --purple-bright: #C000FF;
  --pink-accent: #FF00CC;
  --gold: #FFD700;
  --dark: #0A000F;
  --dark2: #12001A;
  --white: #FFFFFF;
  --gray: #B0A0C0;
  --card-bg: rgba(80,0,130,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

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

/* ─── CANVAS BACKGROUND ─── */
#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10,0,15,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(192,0,255,0.15);
  gap: 1rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-bright), var(--pink-accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

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

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; inset-inline-start: 0;
  width: 0; height: 2px;
  background: var(--purple-bright);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--purple-mid), var(--pink-accent));
  color: white !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }

.lang-switch {
  border: 1px solid rgba(192,0,255,0.4);
  background: rgba(192,0,255,0.1);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 1px;
}
.lang-switch:hover { background: rgba(192,0,255,0.25); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero-inner { max-width: 800px; }

.hero-badge {
  display: inline-block;
  background: rgba(192,0,255,0.15);
  border: 1px solid rgba(192,0,255,0.4);
  color: var(--purple-bright);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-logo-img { max-height: 170px; margin: 0 auto 1rem; filter: drop-shadow(0 0 40px rgba(192,0,255,0.5)); animation: pulse-glow 3s ease-in-out infinite; }

.hero-logo-text {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  background: linear-gradient(135deg, #C000FF 0%, #FF00CC 50%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(192,0,255,0.5));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(192,0,255,0.4)); }
  50%       { filter: drop-shadow(0 0 60px rgba(255,0,204,0.7)); }
}

.hero-tagline { font-size: 1.1rem; color: var(--gray); margin: 1rem 0 0.5rem; letter-spacing: 2px; font-weight: 400; }
.hero-tagline span { color: var(--purple-bright); font-weight: 700; }

.hero-headline { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin: 1.5rem 0 1rem; line-height: 1.3; }

.hero-sub { color: var(--gray); font-size: 1rem; line-height: 1.8; max-width: 550px; margin: 0 auto 2.5rem; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple-mid), var(--pink-accent));
  color: white;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 8px 30px rgba(192,0,255,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,0,204,0.5); }

.btn-outline {
  border: 2px solid rgba(192,0,255,0.5);
  color: var(--white);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
  display: inline-block;
}

.btn-outline:hover { background: rgba(192,0,255,0.1); border-color: var(--purple-bright); }

/* ─── STATS ─── */
.stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(192,0,255,0.1);
  border-bottom: 1px solid rgba(192,0,255,0.1);
  background: rgba(0,0,0,0.3);
}

.stat { text-align: center; }

.stat-number {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-bright), var(--pink-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 0.85rem; color: var(--gray); margin-top: 0.2rem; }

/* ─── SECTION BASE ─── */
section { position: relative; z-index: 1; padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }

.section-tag { font-size: 0.8rem; letter-spacing: 3px; color: var(--purple-bright); font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }

.section-title { font-family: 'Tajawal', sans-serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 1rem; }

.section-title .highlight { background: linear-gradient(135deg, var(--purple-bright), var(--pink-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.section-desc { color: var(--gray); font-size: 1rem; line-height: 1.8; max-width: 600px; margin-bottom: 3rem; }

/* ─── SERVICES GRID ─── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }

.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(192,0,255,0.15);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,0,255,0.08), rgba(255,0,204,0.04));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 16px;
}

.service-card:hover { border-color: rgba(192,0,255,0.5); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(192,0,255,0.2); }
.service-card:hover::before { opacity: 1; }
.service-card.new-badge { border-color: rgba(255,215,0,0.3); }

.service-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-mid), var(--pink-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(192,0,255,0.3);
  overflow: hidden;
}
.service-icon img { width: 24px; height: 24px; object-fit: contain; }

.service-content { flex: 1; position: relative; z-index: 1; }
.service-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; line-height: 1.4; }
.service-hint { font-size: 0.75rem; color: var(--gray); margin-top: 0.3rem; }

.new-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  margin-inline-end: 0.4rem;
  vertical-align: middle;
}

/* ─── WHY US ─── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.why-card { background: var(--card-bg); border: 1px solid rgba(192,0,255,0.12); border-radius: 20px; padding: 2rem 1.5rem; text-align: center; transition: all 0.3s; }
.why-card:hover { border-color: rgba(192,0,255,0.4); transform: translateY(-5px); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.why-desc { color: var(--gray); font-size: 0.88rem; line-height: 1.7; }

/* ─── PROCESS ─── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.step { background: var(--card-bg); border: 1px solid rgba(192,0,255,0.12); border-radius: 16px; padding: 1.8rem 1.5rem; position: relative; }
.step-num { font-family: 'Tajawal', sans-serif; font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, rgba(192,0,255,0.3), rgba(255,0,204,0.15)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 0.5rem; }
.step-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.step-desc { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }

/* ─── CTA SECTION ─── */
.cta-section { position: relative; z-index: 1; text-align: center; padding: 5rem 2rem; background: linear-gradient(135deg, rgba(75,0,130,0.3), rgba(139,0,204,0.2), rgba(255,0,204,0.1)); border-top: 1px solid rgba(192,0,255,0.2); border-bottom: 1px solid rgba(192,0,255,0.2); }
.cta-title { font-family: 'Tajawal', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; }
.cta-desc { color: var(--gray); font-size: 1rem; margin-bottom: 2.5rem; }
.contact-options { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.contact-pill { display: flex; align-items: center; gap: 0.6rem; background: rgba(192,0,255,0.1); border: 1px solid rgba(192,0,255,0.25); color: var(--white); padding: 0.7rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; font-weight: 600; font-family: 'Cairo', sans-serif; transition: all 0.2s; }
.contact-pill:hover { background: rgba(192,0,255,0.25); border-color: var(--purple-bright); transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer { position: relative; z-index: 1; text-align: center; padding: 2.5rem 2rem; border-top: 1px solid rgba(192,0,255,0.1); }
.footer-logo { font-family: 'Tajawal', sans-serif; font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, var(--purple-bright), var(--pink-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; }
.footer-logo img { height: 50px; margin: 0 auto 0.5rem; }
.footer-sub { color: var(--gray); font-size: 0.8rem; letter-spacing: 2px; }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.footer-social a { color: var(--gray); text-decoration: none; font-size: 0.85rem; border: 1px solid rgba(192,0,255,0.2); padding: 0.4rem 1rem; border-radius: 50px; }
.footer-social a:hover { color: var(--white); border-color: var(--purple-bright); }
footer p { color: rgba(176,160,192,0.5); font-size: 0.78rem; margin-top: 2rem; }

.full-bg { position: relative; z-index: 1; background: rgba(0,0,0,0.25); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border-radius: 10px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 74px; inset-inline: 0; background: rgba(10,0,15,0.97); flex-direction: column; padding: 1.5rem; gap: 1.2rem; display: none; border-bottom: 1px solid rgba(192,0,255,0.15); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .stats { gap: 1.5rem; }
  section { padding: 3.5rem 1.2rem; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── PORTFOLIO ─── */
.portfolio-filters { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { background: rgba(80,0,130,0.2); border: 1px solid rgba(192,0,255,0.2); color: var(--gray); padding: 0.45rem 1.2rem; border-radius: 50px; font-family: 'Cairo', sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.filter-btn:hover, .filter-btn.active { background: linear-gradient(135deg, var(--purple-mid), var(--pink-accent)); border-color: transparent; color: white; box-shadow: 0 4px 15px rgba(192,0,255,0.3); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.portfolio-item { border-radius: 16px; overflow: hidden; position: relative; background: var(--card-bg); border: 1px solid rgba(192,0,255,0.15); aspect-ratio: 4/3; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.portfolio-item:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(192,0,255,0.25); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(74,0,128,0.95) 0%, rgba(10,0,15,0.4) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem 1.4rem; opacity: 0; transition: opacity 0.3s; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; background: linear-gradient(135deg, rgba(80,0,130,0.3), rgba(139,0,204,0.15)); }
.placeholder-icon { font-size: 3rem; opacity: 0.6; }
.placeholder-label { font-size: 0.8rem; color: rgba(176,160,192,0.5); text-align: center; padding: 0 1rem; line-height: 1.5; }

.portfolio-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.portfolio-cat { font-size: 0.75rem; color: var(--purple-bright); font-weight: 600; }

.portfolio-more { text-align: center; margin-top: 2.5rem; }

/* ─── TESTIMONIALS ─── */
.testimonials-track-wrapper { overflow: hidden; position: relative; margin-top: 2.5rem; }
.testimonials-track-wrapper::before, .testimonials-track-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.testimonials-track-wrapper::before { inset-inline-end: 0; background: linear-gradient(to left, var(--dark), transparent); }
.testimonials-track-wrapper::after { inset-inline-start: 0; background: linear-gradient(to right, var(--dark), transparent); }
html[dir="ltr"] .testimonials-track-wrapper::before { background: linear-gradient(to right, var(--dark), transparent); }
html[dir="ltr"] .testimonials-track-wrapper::after { background: linear-gradient(to left, var(--dark), transparent); }

.testimonials-track { display: flex; gap: 1.2rem; width: max-content; animation: scroll-rtl 35s linear infinite; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scroll-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
html[dir="ltr"] .testimonials-track { animation-name: scroll-ltr; }
@keyframes scroll-ltr { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

.testimonial-card { background: linear-gradient(135deg, rgba(80,0,130,0.25), rgba(139,0,204,0.12)); border: 1px solid rgba(192,0,255,0.18); border-radius: 20px; padding: 1.8rem 2rem; width: 320px; flex-shrink: 0; position: relative; }
.t-quote { font-size: 2.5rem; line-height: 1; color: var(--purple-bright); opacity: 0.5; margin-bottom: 0.5rem; font-family: Georgia, serif; }
.t-text { font-size: 0.9rem; line-height: 1.8; color: #D0C0E0; margin-bottom: 1.2rem; }
.t-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
.t-author { display: flex; align-items: center; gap: 0.8rem; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-mid), var(--pink-accent)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; box-shadow: 0 4px 12px rgba(192,0,255,0.3); overflow: hidden; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-weight: 700; font-size: 0.9rem; }
.t-company { font-size: 0.75rem; color: var(--gray); }

/* ─── CONTACT FORM ─── */
.contact-form-section { position: relative; z-index: 1; padding: 5rem 2rem; max-width: 820px; margin: 0 auto; }
.form-card { background: linear-gradient(135deg, rgba(80,0,130,0.25), rgba(139,0,204,0.12)); border: 1px solid rgba(192,0,255,0.25); border-radius: 28px; padding: 3rem 2.5rem; backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(192,0,255,0.1); }
.form-header { text-align: center; margin-bottom: 2.5rem; }
.form-header .section-tag { display: block; margin-bottom: 0.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--gray); padding-inline-start: 0.2rem; }
.form-group label span.req { color: var(--purple-bright); margin-inline-start: 2px; }

.form-group input, .form-group select, .form-group textarea {
  background: rgba(10,0,15,0.6);
  border: 1px solid rgba(192,0,255,0.2);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  color: var(--white);
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(176,160,192,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(192,0,255,0.15); }

.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C000FF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
  cursor: pointer;
}
html[dir="ltr"] .form-group select { background-position: right 1rem center; padding-left: 1.1rem; padding-right: 2.5rem; }

.form-group select option { background: #1a001f; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.7; }

.form-submit-row { margin-top: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: 0.8rem; color: rgba(176,160,192,0.55); display: flex; align-items: center; gap: 0.4rem; }
.btn-submit { background: linear-gradient(135deg, var(--purple-mid), var(--pink-accent)); color: white; padding: 0.9rem 2.8rem; border-radius: 50px; border: none; font-weight: 700; font-size: 1rem; font-family: 'Cairo', sans-serif; cursor: pointer; box-shadow: 0 8px 30px rgba(192,0,255,0.4); transition: transform 0.2s, box-shadow 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,0,204,0.5); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success { display: none; text-align: center; padding: 2rem; }
.form-success .success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.5rem; background: linear-gradient(135deg, var(--purple-bright), var(--pink-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.form-success p { color: var(--gray); font-size: 0.95rem; }
.form-error { color: #ff6b6b; font-size: 0.85rem; margin-top: 1rem; text-align: center; }

/* Miscellaneous works — sub grid used inside the "أعمال متنوعة" service/category */
.misc-subgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.misc-subcard { background: var(--card-bg); border: 1px solid rgba(192,0,255,0.15); border-radius: 16px; padding: 1.4rem; text-decoration: none; color: inherit; display: block; transition: all 0.3s; }
.misc-subcard:hover { border-color: var(--purple-bright); transform: translateY(-4px); }
.misc-subcard .misc-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.misc-subcard .misc-title { font-weight: 700; font-size: 0.95rem; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 2rem 1.2rem; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .btn-submit { justify-content: center; }
}
