/* =============================================================================
   SWEDBANG — LUXURY ULTIMATE HOMEPAGE
   Refined, premium, subtle. Safe for dark ↔ light toggle.
   Does NOT touch logo images.
   ============================================================================= */

/* ─────────────────────────────────────────────────────────────────────────────
   0. COLOUR PALETTE & ANIMATION TOKENS
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  --lux-cyan:     #35E7F3;
  --lux-blue:     #4DA3FF;
  --lux-violet:   #9B5FFA;
  --lux-gold:     #F0C040;
  --lux-gold-dim: rgba(240,192,64,0.15);
  --lux-teal:     #00BFA5;

  --glow-cyan-soft:   0 0 24px rgba(53,231,243,0.14), 0 0 48px rgba(53,231,243,0.06);
  --glow-violet-soft: 0 0 24px rgba(155,95,250,0.14), 0 0 48px rgba(155,95,250,0.06);

  /* Softer, shorter rainbow */
  --lux-rainbow: linear-gradient(135deg,
    #35E7F3 0%,
    #4DA3FF 35%,
    #9B5FFA 70%,
    #35E7F3 100%
  );

  --lux-bg-hero:  #060C1A;
  --lux-bg-sect1: #070D1B;
  --lux-bg-sect2: #080E1E;
}

/* ─────────────────────────────────────────────────────────────────────────────
   1. GLOBAL KEYFRAMES
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes lux-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes lux-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes lux-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes lux-scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lux-badge-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(53,231,243,0.20), inset 0 1px 0 rgba(255,255,255,0.08); }
  50%       { box-shadow: 0 0 18px rgba(53,231,243,0.32), inset 0 1px 0 rgba(255,255,255,0.10); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. HERO SECTION — REFINED (not blaring)
   ───────────────────────────────────────────────────────────────────────────── */

/* Hero headline — soft gradient, no harsh glow cycle */
.hero-headline span,
[class*="hero"] h1 span {
  background: linear-gradient(135deg, #35E7F3 0%, #8ab8ff 50%, #c8a7ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lux-shimmer 8s linear infinite;
  display: inline-block;
}

/* Subheadline — soft white, no shimmer */
.hero-sub,
[class*="hero"] p:not(.hero-headline) {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72);
}

/* Editorial divider below headline */
.sb-lux-hero-divider {
  display: block;
  width: 80px;
  height: 2px;
  margin: 16px 0 20px;
  background: linear-gradient(90deg, #35E7F3, #9B5FFA, transparent);
  border-radius: 999px;
  opacity: 0.7;
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. EU REGISTERED BADGE — polished, perfectly aligned
   ───────────────────────────────────────────────────────────────────────────── */
.sb-trust-badge-header,
[class*="trust-badge"],
a[href*="eu"],
span[class*="registered"],
div[class*="registered"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 12px 5px 10px !important;
  border-radius: 999px !important;
  font-family: Satoshi, system-ui, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  /* Clean deep navy glass */
  background: rgba(14, 20, 40, 0.75) !important;
  border: 1px solid rgba(53, 231, 243, 0.28) !important;
  color: rgba(200, 225, 255, 0.90) !important;
  animation: lux-badge-glow 4s ease-in-out infinite !important;
  transition: all 0.25s ease !important;
}

.sb-trust-badge-header:hover,
[class*="trust-badge"]:hover {
  background: rgba(14, 20, 40, 0.92) !important;
  border-color: rgba(53, 231, 243, 0.50) !important;
  color: #35E7F3 !important;
}

/* Checkmark icon inside the badge */
.sb-trust-badge-header svg,
[class*="trust-badge"] svg {
  width: 12px !important;
  height: 12px !important;
  color: #35E7F3 !important;
  stroke: #35E7F3 !important;
  flex-shrink: 0 !important;
}

/* Light theme badge */
html.light-theme .sb-trust-badge-header,
html.light-theme [class*="trust-badge"] {
  background: rgba(240, 245, 255, 0.92) !important;
  border-color: rgba(43, 74, 192, 0.28) !important;
  color: #2B4AC0 !important;
  box-shadow: 0 1px 6px rgba(43,74,192,0.08) !important;
  animation: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. CARD ENHANCEMENTS — subtle glass lift
   ───────────────────────────────────────────────────────────────────────────── */
.card,
[class*="feature-card"],
[class*="service-card"],
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.30s ease, box-shadow 0.30s ease;
}

.card:hover,
[class*="feature-card"]:hover,
[class*="service-card"]:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.28),
    0 0 28px rgba(53,231,243,0.08);
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. SECTION HEADINGS — thin gradient underline
   ───────────────────────────────────────────────────────────────────────────── */
h2:not([class*="logo"]):not([class*="brand"]):not(header h2)::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, #35E7F3, #9B5FFA, transparent);
  border-radius: 999px;
  opacity: 0.6;
}

.text-center h2::after,
h2.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. LUXURY HOLD CTA BUTTON
   ───────────────────────────────────────────────────────────────────────────── */
.sb-luxury-hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(53,231,243,0.40);
  background: rgba(53,231,243,0.05);
  color: rgba(53,231,243,0.90);
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.30s ease;
  margin-top: 10px;
}

.sb-luxury-hero-cta:hover {
  background: rgba(53,231,243,0.10);
  border-color: rgba(53,231,243,0.65);
  box-shadow: var(--glow-cyan-soft);
}

.sb-luxury-hero-cta.is-holding {
  border-color: #9B5FFA;
  background: rgba(155,95,250,0.08);
  box-shadow: var(--glow-violet-soft);
}

.sb-luxury-hero-cta.is-completed {
  border-color: #F0C040;
  background: rgba(240,192,64,0.08);
  color: #F0C040;
}

.sb-luxury-cta-progress {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(155,95,250,0.28) 0%, transparent 70%);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.05s linear;
  border-radius: inherit;
}

.sb-luxury-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.sb-luxury-cta-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. HEADER SCROLL EFFECT
   ───────────────────────────────────────────────────────────────────────────── */
header.is-scrolled {
  background: rgba(6,12,26,0.90) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 1px 0 rgba(53,231,243,0.08), 0 6px 24px rgba(0,0,0,0.25) !important;
  border-bottom: 1px solid rgba(53,231,243,0.07) !important;
}

html.light-theme header.is-scrolled {
  background: rgba(244,246,250,0.95) !important;
  box-shadow: 0 1px 0 rgba(43,74,192,0.10), 0 4px 20px rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(43,74,192,0.08) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. FOOTER ACCENT LINE
   ───────────────────────────────────────────────────────────────────────────── */
footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(53,231,243,0.30) 30%,
    rgba(155,95,250,0.30) 70%,
    transparent 100%
  );
}

/* ─────────────────────────────────────────────────────────────────────────────
   9. LIGHT THEME OVERRIDES
   ───────────────────────────────────────────────────────────────────────────── */
html.light-theme .hero-headline span,
html.light-theme [class*="hero"] h1 span {
  background: linear-gradient(135deg, #1A3299 0%, #2B4AC0 50%, #7B5FCA 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lux-shimmer 8s linear infinite;
}

html.light-theme .hero-sub,
html.light-theme [class*="hero"] p:not(.hero-headline) {
  color: rgba(44,62,106,0.82) !important;
  -webkit-text-fill-color: rgba(44,62,106,0.82);
}

html.light-theme .card:hover,
html.light-theme [class*="feature-card"]:hover {
  box-shadow: 0 16px 48px rgba(65,105,232,0.10);
}

/* ─────────────────────────────────────────────────────────────────────────────
   10. MOBILE RESPONSIVENESS
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sb-luxury-hero-cta {
    padding: 13px 26px;
    font-size: 11px;
    max-width: 300px;
    width: 100%;
  }
  .sb-lux-hero-divider {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .sb-luxury-hero-cta {
    padding: 12px 18px;
    font-size: 10.5px;
  }
}
/* ─────────────────────────────────────────────────────────────────────────────
   SOFTWARE SOLUTIONS SECTION
   ───────────────────────────────────────────────────────────────────────────── */
#swedbang-software {
  position: relative;
  background-color: #020408;
  padding: 100px 20px;
  overflow: hidden;
  font-family: Satoshi, system-ui, sans-serif;
  color: #FFFFFF;
}
#swedbang-software::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #1a0a1a 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.sw-soft-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.sw-soft-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
}
.sw-soft-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFFFFF;
}
.sw-soft-header p {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: #A0A8B0;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}
.sw-soft-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.sw-soft-card {
  width: calc(33.333% - 16px);
  background: #0D0D14;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
}
@media (max-width: 1279px) {
  .sw-soft-card { width: calc(50% - 12px); }
}
@media (max-width: 767px) {
  .sw-soft-card { width: 100%; }
}
.sw-soft-icon {
  margin-bottom: 24px;
}
.sw-soft-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke-width: 1.5;
}
.sw-soft-badge {
  display: inline-block;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.sw-soft-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}
.sw-soft-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #A0A8B0;
  margin: 0 0 32px 0;
  flex-grow: 1;
}
.sw-soft-cta {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
/* Magenta Card Theme */
.sw-theme-magenta .sw-soft-icon svg { color: #C2185B; stroke: currentColor; }
.sw-theme-magenta .sw-soft-badge { background: rgba(194, 24, 91, 0.1); color: #C2185B; }
.sw-theme-magenta .sw-soft-cta { border: 1px solid #C2185B; color: #C2185B; }
.sw-theme-magenta:hover { border-color: rgba(194, 24, 91, 0.4); box-shadow: 0 0 30px rgba(194, 24, 91, 0.15); transform: translateY(-6px); }
.sw-theme-magenta .sw-soft-cta:hover { background: #C2185B; color: #000; }
/* Cyan Card Theme */
.sw-theme-cyan .sw-soft-icon svg { color: #00BCD4; stroke: currentColor; }
.sw-theme-cyan .sw-soft-badge { background: rgba(0, 188, 212, 0.1); color: #00BCD4; }
.sw-theme-cyan .sw-soft-cta { border: 1px solid #00BCD4; color: #00BCD4; }
.sw-theme-cyan:hover { border-color: rgba(0, 188, 212, 0.4); box-shadow: 0 0 30px rgba(0, 188, 212, 0.15); transform: translateY(-6px); }
.sw-theme-cyan .sw-soft-cta:hover { background: #00BCD4; color: #000; }
/* Light Theme Override */
html.light-theme #swedbang-software { background-color: #FFFFFF; }
html.light-theme #swedbang-software::before { background: radial-gradient(circle, rgba(200,200,200,0.2) 0%, transparent 70%); }
html.light-theme .sw-soft-header h2 { color: #111; }
html.light-theme .sw-soft-header p { color: #555; }
html.light-theme .sw-soft-card { background: #F5F5F7; border: 1px solid rgba(0,0,0,0.08); }
html.light-theme .sw-soft-card h3 { color: #111; }
html.light-theme .sw-soft-card p { color: #444; }

/* ─────────────────────────────────────────────────────────────────────────────
   FIXES: ROGUE TEXT & LIGHT MODE LOGO
   ───────────────────────────────────────────────────────────────────────────── */
#sb-scroll-line-4 {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.light-theme header img,
html.light-theme nav img,
html.light-theme img[alt*="logo" i] {
  /* filter: invert(1) hue-rotate(180deg) !important; removed to preserve original logo design */
}
