:root{
  --brand-blue:#1c7ed6;
  --brand-light:#69dbff;
  --brand-dark:#1864ab;
  --brand-green:#2fbe72;
  --bg-primary:#0b1220;
  --bg-secondary:#0e1726;
  --bg-card:#111a2b;
  --text-primary:#e6edf3;
  --text-secondary:#aeb9c7;
  --text-muted:#7e8da4;
  --accent:#69dbff;
  --border:rgba(255,255,255,.08);
  --shadow:0 6px 20px rgba(0,0,0,.35);
  --shadow-md:0 10px 30px rgba(0,0,0,.45);
  --shadow-lg:0 16px 40px rgba(0,0,0,.5);
  --gradient-brand:linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height:1.6;
  color:var(--text-primary);
  background:linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Light Theme Styles */
body.light-theme {
  background: #f1f5f9;
  color: #1a1a1a;
  min-height: 100vh;
}

body.light-theme .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.03);
}

body.light-theme .brand__name {
  color: #1a1a1a;
}

body.light-theme .nav__link {
  color: #1a1a1a;
  opacity: 0.8;
}

body.light-theme .nav__link:hover {
  color: var(--brand-blue);
  opacity: 1;
}

body.light-theme .dropdown {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-theme .dropdown a {
  color: #1a1a1a;
}

body.light-theme .dropdown a:hover {
  background: rgba(28, 126, 214, 0.08);
  color: var(--brand-blue);
}

body.light-theme .hero {
  background: #000000;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
}

body.light-theme .hero--with-slider {
  background: #000000;
}

/* Hero slider styles */
body.light-theme .hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

body.light-theme .hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

body.light-theme .hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

body.light-theme .hero__slide.active {
  opacity: 1;
}

body.light-theme .hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.light-theme .hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

body.light-theme .hero__content {
  position: relative;
  z-index: 3;
}

body.light-theme .hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

body.light-theme .hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

body.light-theme .hero__dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 6px;
}

body.light-theme .hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  filter: blur(40px);
  animation: morphing 20s ease-in-out infinite;
}

body.light-theme .hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
  filter: blur(60px);
  animation: morphing 25s ease-in-out infinite reverse;
}

@keyframes morphing {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) scale(1);
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate(50px, -30px) scale(1.1);
  }
  50% {
    border-radius: 50% 60% 60% 50% / 60% 50% 50% 60%;
    transform: translate(-30px, 30px) scale(0.95);
  }
  75% {
    border-radius: 60% 30% 30% 60% / 30% 60% 60% 30%;
    transform: translate(30px, 50px) scale(1.05);
  }
}

body.light-theme .hero--with-slider .hero__title {
  color: #ffffff;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

body.light-theme .hero--with-slider .hero__accent {
  background: linear-gradient(135deg, #69dbff 0%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  display: block;
  margin-top: 12px;
}

body.light-theme .hero--with-slider .hero__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Normal hero styles for other pages */
body.light-theme .hero__title {
  color: #0f172a;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

body.light-theme .hero__accent {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  display: block;
  margin-top: 12px;
}

body.light-theme .hero__desc {
  color: #475569;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

body.light-theme .services {
  background: #fafbfc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

body.light-theme .section-title {
  color: #1a1a1a;
}

body.light-theme .section-desc {
  color: rgba(26, 26, 26, 0.8);
}

body.light-theme .service-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.light-theme .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

body.light-theme .service-card:hover {
  background: #ffffff;
  border-color: #ddd6fe;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
}

body.light-theme .service-card:hover::before {
  transform: translateX(0);
}

body.light-theme .service-card__icon {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

body.light-theme .service-card__title {
  color: #0f172a;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

body.light-theme .service-card__desc {
  color: #64748b;
  line-height: 1.6;
}

body.light-theme .showcase {
  background: #f8fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 80px 0;
}

body.light-theme .showcase__slide {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.light-theme .showcase__content h3 {
  color: #1a1a1a;
}

body.light-theme .showcase__desc {
  color: rgba(26, 26, 26, 0.8);
}

body.light-theme .news {
  background: #fafbfc;
  border-bottom: 1px solid #e5e7eb;
}

body.light-theme .news-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-theme .news-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

body.light-theme .news-card__title {
  color: #1a1a1a;
}

body.light-theme .news-card__excerpt {
  color: rgba(26, 26, 26, 0.8);
}

body.light-theme .footer {
  background: #1a1a1a;
}

body.light-theme .contact-form {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  padding: 48px;
}

body.light-theme .form-group label {
  color: #1a1a1a;
}

body.light-theme .form-control {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

body.light-theme .form-control:focus {
  border-color: var(--brand-blue);
  background: #ffffff;
}

body.light-theme .form-control::placeholder {
  color: rgba(26, 26, 26, 0.5);
}

/* Buttons in light theme */
body.light-theme .btn {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .btn:hover {
  transform: translateY(-2px);
}

body.light-theme .btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
  font-weight: 600;
  padding: 14px 32px;
}

body.light-theme .btn--primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

body.light-theme .btn--secondary {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

body.light-theme .btn--secondary:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

body.light-theme .btn--ghost {
  background: transparent;
  color: #1a1a1a;
  border-color: transparent;
}

body.light-theme .btn--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile menu for light theme */
body.light-theme .nav__burger span {
  background: #1a1a1a;
}

body.light-theme .mobile-nav {
  background: #ffffff;
}

body.light-theme .mobile-nav__link {
  color: #1a1a1a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .mobile-nav__link:hover {
  background: rgba(28, 126, 214, 0.08);
  color: var(--brand-blue);
}

/* Hero background animation for light theme */
body.light-theme .hero__bg {
  opacity: 0.3;
  background: 
    radial-gradient(circle at 20% 50%, rgba(28, 126, 214, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(47, 190, 114, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(105, 219, 255, 0.06) 0%, transparent 40%);
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Messenger buttons for light theme */
body.light-theme .btn--messenger {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
  font-weight: 600;
}

body.light-theme .btn--messenger:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}

body.light-theme .btn--telegram {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

body.light-theme .btn--telegram:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

/* Language switcher for light theme */
body.light-theme .lang-switch {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .lang-switch__btn {
  color: #1a1a1a;
}

body.light-theme .lang-switch__btn.active {
  background: var(--brand-blue);
  color: #ffffff;
}

body.light-theme .lang-switch__btn:hover:not(.active) {
  background: rgba(28, 126, 214, 0.1);
  color: var(--brand-blue);
}

/* Hero decoration shapes */
body.light-theme .hero__decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

body.light-theme .hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

body.light-theme .hero__shape--1 {
  width: 400px;
  height: 400px;
  background: #3b82f6;
  top: -200px;
  right: -100px;
  animation: float-shape 20s ease-in-out infinite;
}

body.light-theme .hero__shape--2 {
  width: 300px;
  height: 300px;
  background: #10b981;
  bottom: -150px;
  left: -100px;
  animation: float-shape 25s ease-in-out infinite reverse;
}

body.light-theme .hero__shape--3 {
  width: 250px;
  height: 250px;
  background: #8b5cf6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-shape 15s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -30px) scale(1.1);
  }
}

@keyframes pulse-shape {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

/* Hero badge */
body.light-theme .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #3b82f6;
}

body.light-theme .hero__badge svg {
  stroke: #3b82f6;
}

/* Hero features */
body.light-theme .hero__features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}

body.light-theme .hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #475569;
}

body.light-theme .hero__feature svg {
  stroke: #3b82f6;
}
a{color:var(--brand-light);text-decoration:none;transition:color 0.2s ease}
a:hover{color:#fff}
.container{width:100%;max-width:1140px;margin:0 auto;padding:0 20px}

/* PRELOADER - SBERBANK STYLE */
.preloader{
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  z-index:999999;
  background:#f9f9f9;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:1;
  visibility:visible;
  transition:opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden{
  opacity:0;
  visibility:hidden;
}
.preloader-content{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
}
/* preloader-logo стили в index.html */
.spinner{
  width:48px;
  height:48px;
  border:3px solid #e0e0e0;
  border-left-color:#21a038;
  border-radius:50%;
  animation:spin 0.8s linear infinite;
}
.preloader p{
  color:#333;
  font-size:16px;
  font-weight:500;
  margin:0;
  letter-spacing:0.5px;
}
@keyframes spin{
  to{transform:rotate(360deg)}
}
@keyframes pulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}

/* Topbar */
.topbar{background:#0a1628;color:var(--text-secondary);border-bottom:1px solid var(--border);font-size:13px}
.topbar__inner{display:flex;gap:16px;justify-content:flex-end;padding:6px 0}
.topbar a{color:var(--text-secondary)}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(11,18,32,.8);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.brand{display:flex;gap:10px;align-items:center;color:var(--text-primary);white-space:nowrap}
.brand__logo{width:40px;height:40px;object-fit:contain;flex:0 0 auto}
.brand__name{font-weight:600;font-size:18px;color:#fff;white-space:nowrap}
.nav__toggle{display:none;background:none;border:0;width:40px;height:40px;cursor:pointer}
.nav__toggle span{display:block;height:2px;background:var(--text-primary);margin:7px 0;transition:all 0.3s ease}
.nav__list{display:flex;gap:16px;align-items:center;margin:0;padding:0;list-style:none;flex-wrap:nowrap}
.nav__list a{color:var(--text-secondary);font-weight:500;padding:8px 10px;border-radius:6px;transition:background .2s,color .2s;white-space:nowrap;display:inline-flex;align-items:center}
.nav__list a:hover{color:#fff;background:rgba(255,255,255,.06)}
.nav__lang{display:flex;gap:2px}
.nav__lang a{padding:4px 8px;border-radius:6px;font-size:14px;font-weight:500}
.nav__lang a.is-active{background:var(--gradient-brand);color:#0b1220}

/* Dropdown */
.nav__item{position:relative}
.dropdown{position:absolute;left:0;top:100%;background:rgba(13,20,35,.98);border:1px solid var(--border);border-radius:10px;padding:10px;min-width:220px;display:none !important;box-shadow:var(--shadow);list-style:none;margin:0;z-index:2000}

/* Special wide grid dropdown for registration countries and audit */
.nav__item:first-child .dropdown,
.nav__item:nth-child(4) .dropdown{
  width:min(92vw, 780px);
  max-height:60vh;overflow:auto;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 12px;
  padding:12px;
  /* center under the menu item and keep within viewport */
  left:50% !important;
  transform:translateX(-50%);
  right:auto
}
.nav.nav--dropdown-open > .nav__list > .nav__item > a{pointer-events:none}
.nav.nav--dropdown-open > .nav__list > .nav__item.open > a{pointer-events:auto}
.dropdown li{list-style:none;margin:0;padding:0}
.dropdown a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px}
.dropdown a:hover{background:rgba(255,255,255,.06)}
.nav__item.open > .dropdown{display:block !important}
.nav__item:first-child.open > .dropdown,
.nav__item:nth-child(4).open > .dropdown{display:grid !important}
.dropdown-flag{font-size:20px;width:24px;text-align:center;filter:drop-shadow(0 1px 2px rgba(0,0,0,0.3))}

/* Hero */
.hero{
  padding:96px 0 64px;
  background:radial-gradient(1000px 600px at 10% -10%, rgba(105,219,255,.15), transparent),
             radial-gradient(900px 500px at 90% -20%, rgba(47,190,114,.12), transparent);
}
.hero__inner{display:flex;flex-direction:column;gap:24px;text-align:center;max-width:800px;margin:0 auto}
.hero h1{
  margin:0;
  font-size:clamp(42px, 6.5vw, 56px);
  font-weight:800;
  line-height:1.15;
  background:var(--gradient-brand);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero p{
  color:var(--text-secondary);
  font-size:18px;
  line-height:1.6;
  margin:0;
}
.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 48px;
}

.hero__messengers {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px !important;
  min-width: 240px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn--primary {
  background: linear-gradient(135deg, #00bfff 0%, #0099ff 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 
    0 4px 20px rgba(0, 191, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 30px rgba(0, 191, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--primary:hover::before {
  width: 300px;
  height: 300px;
}
.btn--outline{
  color:#fff;
  border-color:var(--border);
  background:rgba(255,255,255,.03);
}
.btn--outline:hover{
  background:rgba(255,255,255,.07);
}

/* Features */
.features{padding:56px 0 80px}
.grid-5{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{
  display:block;
  padding:24px;
  border:1px solid var(--border);
  background:var(--bg-card);
  border-radius:12px;
  min-height:140px;
  transition:all 0.2s ease;
  text-decoration:none;
}
.card:hover{
  transform:translateY(-3px);
  border-color:var(--brand-light);
}
.card h3{
  margin:0 0 8px 0;
  font-size:18px;
  font-weight:600;
  color:var(--text-primary);
}
.card p{
  margin:0;
  color:var(--text-secondary);
  line-height:1.5;
  font-size:14px;
}

/* Overview with news */
.overview{padding:24px 0 64px}
.layout-two{display:grid;grid-template-columns:3fr 1fr;gap:24px}
.news{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:16px;height:fit-content}
.news h3{margin:0 0 10px 0;font-size:16px}
.news ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.news a{color:#fff}

/* Call floating button */
.call-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #0b1220;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}
.call-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 191, 255, 0.5);
}
.call-fab svg {
  width: 20px;
  height: 20px;
}

/* NEW FOOTER */
.site-footer {
  background: #050a15;
  color: #ffffff;
  margin-top: 100px;
}

.footer__top {
  background: linear-gradient(180deg, rgba(0, 191, 255, 0.03) 0%, transparent 100%);
  border-top: 1px solid rgba(0, 191, 255, 0.1);
  padding: 80px 0 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Brand */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer__logo img {
  width: 60px;
  height: 60px;
  filter: brightness(1.2);
}

.footer__logo span {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-size: 15px;
}

/* Footer Sections */
.footer__services h4,
.footer__contacts h4,
.footer__cta h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: #ffffff;
}

/* Footer Contacts */
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contacts a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contacts a:hover {
  color: var(--brand-light);
}

.footer__contacts svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer__services nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__services a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 12px;
}

.footer__services a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer__services a:hover {
  color: var(--brand-light);
  padding-left: 20px;
}

.footer__services a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Footer Contacts */
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__contact-item svg {
  color: var(--brand-light);
  flex-shrink: 0;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer__contact-item a:hover {
  color: var(--brand-light);
}

/* Footer CTA */
.footer__cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 20px;
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.footer__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

/* Footer Socials */
.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer__socials a:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: rgba(0, 191, 255, 0.4);
  transform: translateY(-3px);
}

.footer__socials svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

/* Footer Bottom */
.footer__bottom {
  background: #030711;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__bottom p {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

/* Reveal animations */
.reveal-up{opacity:0;transform:translateY(18px);filter:saturate(.9);transition:transform .6s cubic-bezier(.2,.6,.2,1), opacity .6s ease, filter .6s ease}
.reveal-up.is-visible{opacity:1;transform:none;filter:none}
@media (prefers-reduced-motion: reduce){
  .reveal-up{transition:none}
}

/* Responsive */
@media (max-width: 980px){
  .grid-5{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav__toggle{display:block}
  .nav__list{position:fixed;inset:64px 0 auto 0;background:rgba(10,17,30,.98);flex-direction:column;align-items:flex-start;padding:16px 20px;border-bottom:1px solid var(--border);transform:translateY(-120%);transition:.2s}
  body.nav-open .nav__list{transform:translateY(0)}
}

/* Forms */
form{display:grid;gap:20px;max-width:600px}
input,textarea{
  background:var(--bg-card);
  border:2px solid var(--border);
  color:var(--text-primary);
  padding:16px 20px;
  border-radius:12px;
  font-size:16px;
  transition:all 0.2s ease;
  backdrop-filter:blur(10px);
}
input:focus,textarea:focus{
  outline:none;
  border-color:var(--brand-azure);
  box-shadow:0 0 0 3px rgba(0,212,255,.1);
}
textarea{min-height:140px;resize:vertical}

/* Tables */
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:24px 0;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
th,td{padding:16px 20px;text-align:left;border-bottom:1px solid var(--border)}
thead th{
  background:var(--bg-secondary);
  font-weight:600;
  cursor:pointer;
  color:var(--text-primary);
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
tbody tr{transition:all 0.2s ease}
tbody tr:hover{background:rgba(255,255,255,.08)}
.table-controls{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
  margin:24px 0;
  padding:20px;
  background:var(--bg-card);
  border-radius:16px;
  border:1px solid var(--border);
}
.table-controls .spacer{flex:1}
.tag{
  display:inline-block;
  padding:6px 12px;
  border:1px solid var(--border);
  border-radius:8px;
  color:var(--text-muted);
  font-size:12px;
  background:var(--bg-secondary);
}

/* NEW HERO STYLES */
.hero--with-slider {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #000;
  padding: 0;
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
  z-index: 2;
}

.hero--with-slider .container {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.hero__dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 6px;
}

.hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: #0a0f1e;
  margin-bottom: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 157, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 40% 20%, rgba(147, 112, 219, 0.3) 0%, transparent 40%);
  animation: heroFloat 20s ease-in-out infinite;
  opacity: 0.5;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 191, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  animation: heroGrid 30s linear infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(1.1); }
}

@keyframes heroGrid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 auto 32px auto;
  color: #ffffff;
  letter-spacing: -0.02em;
  animation: heroTitleFade 1s ease-out;
  text-align: center;
  width: 100%;
}

@keyframes heroTitleFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__accent {
  background: linear-gradient(90deg, #00bfff 0%, #00ff9d 50%, #00bfff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradient 3s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero__desc {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 48px auto;
  max-width: 800px;
  text-align: center;
  animation: heroDescFade 1s ease-out 0.2s both;
}

@keyframes heroDescFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroCTAFade 1s ease-out 0.4s both;
}

@keyframes heroCTAFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Showcase Section */
.showcase {
  padding: 80px 0;
  background: var(--bg);
}

.showcase__wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase__slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.showcase__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.showcase__slide.active {
  opacity: 1;
  visibility: visible;
}

.showcase__content {
  flex: 1;
  padding: 60px;
}

.showcase__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcase__desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-light);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s;
}

.showcase__link:hover {
  transform: translateX(4px);
}

.showcase__image {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}

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

.showcase__slide.active .showcase__image img {
  transform: scale(1.05);
}

.showcase__dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.showcase__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase__dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--brand-light);
}

@media (max-width: 768px) {
  .showcase__slider {
    height: auto;
  }
  
  .showcase__slide {
    flex-direction: column;
  }
  
  .showcase__content {
    padding: 40px;
  }
  
  .showcase__image {
    height: 250px;
  }
  
  .showcase__title {
    font-size: 24px;
  }
}

/* NEW SERVICE CARDS */
.services {
  padding: 100px 0;
  background: #0a0f1e;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top left, rgba(0, 191, 255, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(0, 255, 157, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.services__wrapper {
  background: rgba(15, 24, 35, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.section__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 48px 0;
  color: var(--text-primary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services__wrapper {
    padding: 40px 24px;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  min-height: 280px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 191, 255, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 191, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.2) 0%, rgba(0, 255, 157, 0.15) 100%);
  border: 2px solid rgba(0, 191, 255, 0.3);
  border-radius: 20px;
  color: #00bfff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.3) 0%, rgba(0, 255, 157, 0.2) 100%);
  transform: scale(1.1);
  border-color: rgba(0, 191, 255, 0.5);
}

.service-card__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.service-card__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.service-card__arrow {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 24px;
  color: var(--brand-light);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

/* NEW NEWS SECTION */
.news-section {
  padding: 80px 0;
  background: #0a1322;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.news-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 191, 255, 0.2);
}

.news-card__date {
  display: inline-block;
  font-size: 14px;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.news-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.news-card__title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card__title a:hover {
  color: var(--brand-light);
}

.news-card__excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* NEW BUTTON STYLES */
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  background-size: 200% 200%;
  background-position: -100% 0;
  transition: background-position 0.6s;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover::after {
  background-position: 100% 0;
}

/* Messenger buttons */
.btn--messenger {
  background: #25D366;
  color: #ffffff;
  border-color: transparent;
  min-width: 140px;
  padding: 16px 24px !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--messenger:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn--telegram {
  background: #0088cc;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.btn--telegram:hover {
  background: #0077b5;
  box-shadow: 0 6px 25px rgba(0, 136, 204, 0.4);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==================== SCROLL ANIMATIONS ==================== */

/* Base animation classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-down {
  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-rotate {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Triggered state */
.animate-in {
  opacity: 1 !important;
  transform: translate(0) scale(1) rotate(0) !important;
}

/* Stagger children */
.animate-child {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced card hover animations */
@keyframes cardFloat {
  0%, 100% { transform: translateY(-4px) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.service-card:hover,
.news-card:hover,
.country-card:hover,
.bank-card:hover,
.it-card:hover,
.accounting-card:hover,
.article__card:hover,
.kik-card:hover,
.price-card:hover {
  animation: cardFloat 2s ease-in-out infinite;
}

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.8s, height 0.8s;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

/* Number counter animation */
@keyframes countUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.counted {
  animation: countUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Glow pulse for important elements */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4),
                0 0 40px rgba(0, 191, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6),
                0 0 60px rgba(0, 191, 255, 0.3);
  }
}

.glow-effect {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Modal Styles */
/* Audit dropdown styles */
.audit-dropdown-card {
  position: relative;
  cursor: pointer;
}

.audit-dropdown-card:hover .audit-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.audit-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  min-width: 280px;
}

.audit-dropdown-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.audit-dropdown-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.audit-dropdown-countries {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audit-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.audit-dropdown-item:hover {
  background: var(--accent-color);
  color: white;
  transform: translateX(4px);
}

.audit-dropdown-item.audit-dropdown-all {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-weight: 600;
}

.country-flag {
  font-size: 20px;
  min-width: 24px;
}

.country-name {
  font-size: 14px;
  font-weight: 500;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.modal.active .modal__content {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal__close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.modal__header {
  margin-bottom: 24px;
  text-align: center;
}

.modal__flag {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal__subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}

.form-input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 16px;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.modal__form .btn {
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 20px;
  color: var(--brand-green);
}

.form-success svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  stroke: var(--brand-green);
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal__content {
    padding: 24px;
    margin: 16px;
  }
  
  .modal__flag {
    font-size: 40px;
  }
  
  .modal__title {
    font-size: 20px;
  }
}
