/* ═══════════════════════════════════════════════════════════════════════════
   SY Holdings Group — Corporate Site
   Mobile-first · Navy + Orange/Amber · Premium institutional
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --navy:        #0a1628;
  --navy-light:  #111d32;
  --navy-mid:    #162440;
  --surface:     #1a2a4a;
  --border:      rgba(255,255,255,0.08);
  --border-light:rgba(255,255,255,0.12);
  --accent:      #e8712a;
  --accent-light:#f0913e;
  --accent-glow: rgba(232,113,42,0.15);
  --accent-grad: linear-gradient(135deg, #e8712a 0%, #f5a623 100%);
  --text:        #f0f2f5;
  --text-muted:  #8899b0;
  --text-dim:    #7a8ca6;  /* AA: 5.3:1 on navy, 4.5:1 on navy-mid */
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width:   1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--navy); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; }
img:not([style*="inline"]) { display: block; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══ Nav ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo-img { height: 36px; width: auto; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: none; gap: 10px; align-items: center; }

.lang-toggle {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-light);
  color: var(--text-muted); font-family: var(--font); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 50px; cursor: pointer; transition: all var(--transition);
}
.lang-toggle:hover { color: var(--text); border-color: var(--accent); background: var(--accent-glow); }

.nav-toggle { display: block; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: var(--transition); }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 14px;
  border-radius: var(--radius-sm); padding: 10px 22px;
  cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary, a.btn-primary, a.btn-primary:visited {
  background: var(--accent-grad); color: #fff !important;
  box-shadow: 0 4px 15px rgba(232,113,42,0.3);
}
.btn-primary:hover, a.btn-primary:hover { box-shadow: 0 6px 25px rgba(232,113,42,0.45); transform: translateY(-1px); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border-light); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-full { width: 100%; }

/* ═══ Mobile Menu ═══ */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  z-index: 999; background: var(--navy); padding: 24px 20px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 17px; font-weight: 600; color: var(--text-muted); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.mobile-menu-actions .lang-toggle { width: fit-content; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 64px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(232,113,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,113,42,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center; padding: 48px 0 40px;
}
.hero-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-light);
  background: var(--accent-glow); border: 1px solid rgba(232,113,42,0.2);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.08; letter-spacing: -0.8px; margin-bottom: 20px; }
.hero-sub { font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }
.hero-sub strong { color: var(--text); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-markets { display: flex; gap: 12px; justify-content: center; align-items: flex-start; margin-top: 28px; flex-wrap: wrap; }
.mkt-flag { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; font-size: 22px; line-height: 1; min-width: 40px; }
.mkt-label { font-size: 9px; font-weight: 600; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; }

/* Stats bar */
.stats-bar {
  position: relative; z-index: 1;
  background: var(--navy-light);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px 0; }
.stat { text-align: center; }
.stat-num {
  font-size: 32px; font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 12px rgba(232,113,42,0.15));
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; letter-spacing: 0.02em; }

/* ═══ Sections ═══ */
.section { padding: 64px 0; }
.section-dark { background: var(--navy-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-header h2 { font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.3px; margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ═══ Solutions ═══ */
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.solution-card {
  background: rgba(17,29,50,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.solution-card::after {
  content: '';
  position: absolute; inset: -1px; border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, rgba(232,113,42,0.4), transparent 40%, transparent 60%, rgba(59,130,246,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.solution-card:hover::after { opacity: 1; }
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(232,113,42,0.06);
  border-color: rgba(255,255,255,0.15);
}
.solution-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
}
.solution-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.solution-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Industry bar */
.industry-bar {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.industry-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 12px;
}
.industry-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.industry-pills span {
  font-size: 12px; padding: 5px 14px; border-radius: 50px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 500;
}

/* ═══ About + Process (merged, side-by-side on desktop) ═══ */
.about-process-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.trust-column { display: flex; flex-direction: column; gap: 16px; }
.trust-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: rgba(17,29,50,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.trust-item:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.trust-icon {
  font-size: 24px; min-width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,113,42,0.08); border: 1px solid rgba(232,113,42,0.15);
  border-radius: 10px; flex-shrink: 0;
}
.trust-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.trust-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.process-column { display: flex; flex-direction: column; gap: 16px; }
.process-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.process-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: rgba(17,29,50,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.process-step::after {
  content: ''; position: absolute; inset: -1px; border-radius: calc(var(--radius) + 1px); padding: 1px;
  background: linear-gradient(135deg, rgba(232,113,42,0.4), transparent 40%, transparent 60%, rgba(59,130,246,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.process-step:hover::after { opacity: 1; }
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}
.step-number {
  font-size: 24px; font-weight: 800; min-width: 40px;
  background: var(--accent-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.process-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Partners bar */
.partners-bar {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border); text-align: center;
}
.partners-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px;
}
.partners-list { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.partners-list span { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.partner-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }

/* ═══ Contact / CTA ═══ */
.contact-cta-section {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  max-width: 800px; margin: 0 auto;
}
.contact-cta-box {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border: 1px solid rgba(232,113,42,0.2);
  border-radius: var(--radius-lg); padding: 48px 32px; text-align: center;
}
.contact-cta-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.contact-cta-box p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }

.contact-details {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding: 0 8px;
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item span { font-size: 22px; min-width: 32px; }
.contact-item strong { font-size: 14px; display: block; margin-bottom: 3px; }
.contact-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ═══ Footer ═══ */
.footer { background: var(--navy-light); border-top: 1px solid var(--border); padding-top: 48px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; text-align: center; }
.footer-logo { height: 28px; margin: 0 auto 12px; }
.footer-brand p { font-size: 12px; color: var(--text-muted); line-height: 1.6; max-width: 400px; margin: 0 auto; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.footer-col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 12px; color: var(--text-muted); padding: 3px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; margin-top: 12px; }
.footer-bottom p { font-size: 11px; color: var(--text-dim); text-align: center; }

/* ═══ Animations ═══ */
/* Hidden only once site.js has run (html.js), so the page reads fully without JavaScript */
.js .animate-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .animate-in.visible { opacity: 1; transform: translateY(0); }

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
   TABLET (600px+)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .hero h1 { font-size: 54px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-num { font-size: 32px; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 80px 0; }
  .section-header h2 { font-size: 32px; }
  .contact-cta-box h2 { font-size: 32px; }
  .contact-details { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESKTOP (840px+)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 840px) {
  .nav-inner { height: 72px; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .nav-logo-img { height: 38px; }

  .hero h1 { font-size: 72px; letter-spacing: -2px; }
  .hero-content { padding: 72px 0 48px; }
  .hero-sub { font-size: 18px; max-width: 660px; }

  .stats-grid { padding: 40px 0; }
  .stat-num { font-size: 40px; }

  .section { padding: 100px 0; }
  .section-header { margin-bottom: 56px; max-width: 720px; }
  .section-header h2 { font-size: 40px; }
  .section-header p { font-size: 16px; }

  .solutions-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .solution-card { padding: 36px; }
  .solution-card h3 { font-size: 20px; }
  .solution-card p { font-size: 15px; }

  .about-process-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .trust-item h4 { font-size: 17px; }
  .trust-item p { font-size: 15px; }
  .process-step h4 { font-size: 16px; }
  .process-step p { font-size: 14px; }

  .contact-cta-box h2 { font-size: 36px; }
  .contact-cta-box p { font-size: 16px; }

  .footer-brand p { font-size: 13px; max-width: 320px; margin: 0; }

  .footer-inner { grid-template-columns: 1.5fr 2fr; gap: 48px; text-align: left; }
  .footer-logo { margin: 0 0 12px; }
}

/* ═══ Safe area for notched devices ═══ */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ═══ Premium Background Effects — Inspired by Neone/Digital style ═══ */

/* --- Hero: Glowing arc horizon + star field --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: 
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(232,113,42,0.30) 0%, rgba(232,113,42,0.08) 40%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(59,130,246,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Horizon arc line */
.hero::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(232,113,42,0.25);
  border-bottom: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 60px rgba(232,113,42,0.15), 0 0 120px rgba(232,113,42,0.08);
}

.hero > * { position: relative; z-index: 1; }

/* --- Star dots (CSS animated) --- */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.15) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.10) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.12) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.08) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,0.15) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 20% 90%, rgba(232,113,42,0.20) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 10%, rgba(59,130,246,0.20) 50%, transparent 50%),
    radial-gradient(1px 1px at 40% 55%, rgba(255,255,255,0.10) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 15%, rgba(255,255,255,0.12) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.08) 50%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: starTwinkle 8s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.section { position: relative; overflow: hidden; }
.section > * { position: relative; z-index: 1; }

/* --- Concentric ring for Solutions --- */
#solutions::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(232,113,42,0.12);
  box-shadow: 
    0 0 0 40px rgba(232,113,42,0.04),
    0 0 0 80px rgba(232,113,42,0.02),
    0 0 0 120px rgba(232,113,42,0.01),
    inset 0 0 80px rgba(232,113,42,0.06);
  pointer-events: none;
  z-index: 0;
}

/* --- Blue glow beam for About --- */
#about::after {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 400px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.08) 30%, rgba(59,130,246,0.12) 50%, rgba(59,130,246,0.08) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* --- Glow line separator above News --- */
#news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,113,42,0.4), rgba(59,130,246,0.3), transparent);
  box-shadow: 0 0 20px rgba(232,113,42,0.2), 0 0 40px rgba(59,130,246,0.1);
  pointer-events: none;
  z-index: 1;
}

/* --- Grid pattern for Contact --- */
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* --- Stats bar glow line --- */
.stats-bar {
  position: relative;
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 15px rgba(232,113,42,0.3);
  pointer-events: none;
}


/* ═══ Dribbble Premium Upgrades ═══ */

/* Animated gradient mesh on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 40% 50% at 15% 20%, rgba(232,113,42,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 80% 75%, rgba(59,130,246,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 50% 50%, rgba(139,92,246,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: meshFloat 20s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(10px, -10px); }
  66% { transform: scale(0.98) translate(-10px, 5px); }
  100% { transform: scale(1.02) translate(5px, -5px); }
}

/* Glassmorphism nav */
.nav {
  background: rgba(10,22,40,0.75) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

/* Button glow on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(232,113,42,0.35), 0 4px 16px rgba(232,113,42,0.2);
}

/* Section header tag glow */
.section-tag {
  box-shadow: 0 0 15px rgba(232,113,42,0.15);
}

/* Section header h2 — subtle gradient */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Card icon glow */
.solution-icon {
  box-shadow: 0 0 20px rgba(232,113,42,0.15);
  transition: box-shadow 0.3s, transform 0.3s;
}
.solution-card:hover .solution-icon {
  box-shadow: 0 0 30px rgba(232,113,42,0.25);
  transform: scale(1.08);
}

/* Market flags glassmorphism */
.mkt-flag {
  background: transparent !important;
  border: none !important;
  transition: all 0.3s;
}
.mkt-flag:hover {
  transform: translateY(-2px);
}

/* Stats bar glassmorphism */
.stats-bar {
  background: rgba(17,29,50,0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Footer glassmorphism */
.footer {
  background: rgba(17,29,50,0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #ff9f43, #f39c12) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Number blur-in animation */
@keyframes blurIn {
  from { filter: blur(8px); opacity: 0; transform: translateY(10px); }
  to { filter: blur(0); opacity: 1; transform: translateY(0); }
}


/* Parallax-like depth on hover for the whole about section */
#about .about-grid { transition: transform 0.5s; }

/* Image hover zoom */
#news-grid img, .about-img {
  transition: transform 0.5s cubic-bezier(.4,0,.2,1) !important;
}
#news-grid a:hover img { transform: scale(1.08) !important; }

/* --- Floating lens flare dots --- */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

.hero .container::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232,113,42,0.6);
  box-shadow: 0 0 10px rgba(232,113,42,0.4), 0 0 30px rgba(232,113,42,0.2);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero .container::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(59,130,246,0.6);
  box-shadow: 0 0 8px rgba(59,130,246,0.4), 0 0 20px rgba(59,130,246,0.2);
  animation: float 8s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS (default + small screens)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Footer — stack 4 cols into 2x2 on mobile */
.footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 600px) { .footer-links { grid-template-columns: repeat(4, 1fr); } }

/* Stats — 2x2 on mobile (default is 2-col, tablet makes 4, but we have 5 stats in tech) */

/* News grid — single column on mobile */
#news-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
@media (min-width: 600px) { #news-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 840px) { #news-grid { grid-template-columns: repeat(3, 1fr) !important; } }

/* Touch targets — min 44px height for all interactive elements */
.nav-links a, .mobile-menu a { min-height: 44px; display: flex; align-items: center; }
.btn { min-height: 44px; }
.footer-col a { min-height: 36px; display: flex; align-items: center; }

/* Hero — ensure text doesn't overflow */
.hero h1 { word-break: break-word; }
.hero-content { padding: 48px 0 32px; }

/* Mobile menu improvements */
.mobile-menu a { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }

/* Market flags — wrap nicely */
.hero-markets { gap: 8px; }
.mkt-flag { padding: 6px 8px; }

/* Section padding reduction on mobile */
.section { padding: 48px 0; }
.section-header { margin-bottom: 28px; }
.section-header h2 { font-size: 24px; }
.section-header p { font-size: 13px; }

/* About trust items — tighter on mobile */
.trust-item { padding: 14px; }
.trust-icon { width: 38px; height: 38px; font-size: 18px; min-width: 38px; }
.trust-item h4 { font-size: 14px; }
.trust-item p { font-size: 12px; }

/* Process steps — tighter */
.process-step { padding: 14px; }
.step-number { font-size: 20px; min-width: 32px; }

/* Contact section */
.contact-cta-box { padding: 32px 20px; }
.contact-cta-box h2 { font-size: 22px; }

/* Safe area padding for notched iPhones */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* Prevent horizontal scroll */
html, body { overflow-x: hidden; }

/* Tech stats row — responsive */
.tech-stats-row { grid-template-columns: repeat(2, 1fr) !important; }
@media (min-width: 600px) { .tech-stats-row { grid-template-columns: repeat(3, 1fr) !important; } }
@media (min-width: 840px) { .tech-stats-row { grid-template-columns: repeat(5, 1fr) !important; } }

/* Thin scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
::-webkit-scrollbar-corner { background: transparent; }

/* ─── Unified 3-pill language picker (added 2026-05-13) ─────────────────────
   Same component across syholdings.org / auto / dealer / staff for visual
   consistency. Replaces the older single-button cycler.
   ───────────────────────────────────────────────────────────────────────── */
.lang-toggle-group { display: inline-flex; gap: 2px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 3px; }
.lang-toggle-group button { background: transparent; color: var(--text-muted, #8899b0); border: 0; padding: 5px 11px; font-size: .78rem; font-weight: 600; cursor: pointer; border-radius: 999px; min-width: 34px; font-family: inherit; transition: all .15s; }
.lang-toggle-group button.lang-active { background: var(--accent, #e8712a); color: #fff; }
.lang-toggle-group button:hover:not(.lang-active) { color: var(--text, #f0f2f5); background: rgba(255,255,255,.06); }


/* ─── Hardened 3-pill (2026-05-13) — overrides any conflicting button reset ── */
.lang-toggle-group {
  display: inline-flex !important; gap: 2px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 999px !important; padding: 3px !important;
}
.lang-toggle-group button {
  appearance: none !important; -webkit-appearance: none !important;
  background: transparent !important; color: var(--text-muted, #8899b0) !important;
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  padding: 5px 12px !important; font-size: 12px !important; font-weight: 600 !important;
  cursor: pointer !important; border-radius: 999px !important;
  min-width: 34px !important; font-family: inherit !important;
  transition: all .15s !important; line-height: 1.2 !important;
}
.lang-toggle-group button.lang-active { background: var(--accent, #e8712a) !important; color: #fff !important; }
.lang-toggle-group button:hover:not(.lang-active) { color: var(--text, #f0f2f5) !important; background: rgba(255,255,255,.08) !important; }
