@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --foreground-rgb: 255, 255, 255;
  --background-start-rgb: 10, 10, 10;
  --background-end-rgb: 26, 26, 26;
  --primary-blue: 79, 70, 229;
  --primary-purple: 124, 58, 237;
  --primary-teal: 13, 148, 136;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(
      to bottom,
      transparent,
      rgb(var(--background-end-rgb))
    )
    rgb(var(--background-start-rgb));
}

.font-display {
  font-family: 'Poppins', system-ui, sans-serif;
}

.cursor-glow {
  cursor: pointer;
  transition: all 0.3s ease;
}

.cursor-glow:hover {
  filter: drop-shadow(0 0 10px #4F46E5);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #4F46E5, #7C3AED);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #3B2FF8, #6028E0);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #0D9488 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient 8s ease infinite;
  will-change: background-position;
}

.glow-border {
  border: 1px solid transparent;
  background: linear-gradient(#1A1A1A, #1A1A1A) padding-box,
              linear-gradient(135deg, #4F46E5, #7C3AED, #0D9488) border-box;
}

.hero-bg {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  will-change: background-position;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes buttonGlowPulse {
  0% {
    box-shadow:
      0 12px 34px rgba(79,70,229,0.30),
      0 0 18px rgba(79,70,229,0.18),
      0 0 34px rgba(124,58,237,0.12),
      0 0 54px rgba(124,58,237,0.08);
    transform: translateY(0);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(79,70,229,0.42),
      0 0 28px rgba(79,70,229,0.28),
      0 0 56px rgba(124,58,237,0.20),
      0 0 88px rgba(124,58,237,0.14);
    transform: translateY(-1px);
  }
  100% {
    box-shadow:
      0 12px 34px rgba(79,70,229,0.30),
      0 0 18px rgba(79,70,229,0.18),
      0 0 34px rgba(124,58,237,0.12),
      0 0 54px rgba(124,58,237,0.08);
    transform: translateY(0);
  }
}

@keyframes buttonShimmer {
  0% {
    transform: translateX(-130%) skewX(-22deg);
    opacity: 0;
  }
  20% {
    opacity: 0.18;
  }
  60% {
    opacity: 0.28;
  }
  100% {
    transform: translateX(230%) skewX(-22deg);
    opacity: 0;
  }
}

.btn-glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  animation: buttonGlowPulse 3.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -20%;
  width: 42%;
  height: 170%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.34) 50%, rgba(255,255,255,0.10) 55%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  animation: buttonShimmer 4.8s ease-in-out infinite;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.05);
}

.btn-glow:hover::after {
  animation-duration: 1.25s;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  box-shadow:
    0 12px 34px rgba(79,70,229,0.36),
    0 0 22px rgba(79,70,229,0.24),
    0 0 42px rgba(124,58,237,0.16),
    0 0 72px rgba(124,58,237,0.10);
}

.btn-primary-glow:hover {
  box-shadow:
    0 18px 46px rgba(79,70,229,0.50),
    0 0 34px rgba(79,70,229,0.34),
    0 0 68px rgba(124,58,237,0.26),
    0 0 110px rgba(124,58,237,0.18);
}

.btn-secondary-glow {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  box-shadow:
    0 10px 28px rgba(79,70,229,0.16),
    0 0 18px rgba(79,70,229,0.10),
    0 0 34px rgba(124,58,237,0.08);
}

.btn-secondary-glow:hover {
  border-color: rgba(124,58,237,0.45);
  background: rgba(255,255,255,0.05);
  box-shadow:
    0 14px 36px rgba(79,70,229,0.24),
    0 0 28px rgba(79,70,229,0.18),
    0 0 54px rgba(124,58,237,0.14);
}

@keyframes headerLinkPulse {
  0% {
    color: rgba(255,255,255,0.92);
    text-shadow:
      0 0 10px rgba(124,58,237,0.12),
      0 0 18px rgba(96,165,250,0.08),
      0 0 28px rgba(124,58,237,0.06);
    opacity: 0.96;
  }
  50% {
    color: rgba(255,255,255,1);
    text-shadow:
      0 0 18px rgba(124,58,237,0.34),
      0 0 34px rgba(96,165,250,0.20),
      0 0 54px rgba(124,58,237,0.14);
    opacity: 1;
  }
  100% {
    color: rgba(255,255,255,0.92);
    text-shadow:
      0 0 10px rgba(124,58,237,0.12),
      0 0 18px rgba(96,165,250,0.08),
      0 0 28px rgba(124,58,237,0.06);
    opacity: 0.96;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header-menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 18.6px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.96);
  transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease, color 0.22s ease, text-shadow 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  transform-origin: center;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.header-menu-link:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.16);
  background: linear-gradient(135deg, rgba(124,58,237,0.22) 0%, rgba(96,165,250,0.16) 100%);
  border-color: rgba(124,58,237,0.28);
  box-shadow:
    0 0 24px rgba(124,58,237,0.24),
    0 0 46px rgba(96,165,250,0.14),
    0 0 72px rgba(124,58,237,0.08);
}

.header-menu-link span {
  color: rgba(255,255,255,0.96);
  animation: headerLinkPulse 2.2s ease-in-out infinite;
  text-shadow:
    0 0 12px rgba(124,58,237,0.14),
    0 0 24px rgba(96,165,250,0.08);
}

.header-menu-link:hover span {
  animation-duration: 0.65s;
  color: rgba(255,255,255,1);
  text-shadow:
    0 0 28px rgba(124,58,237,0.40),
    0 0 50px rgba(96,165,250,0.24),
    0 0 76px rgba(124,58,237,0.12);
}

.header-menu-link.is-active {
  font-weight: 700;
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,58,237,0.42) 0%, rgba(96,165,250,0.32) 100%);
  border: 1px solid rgba(124,58,237,0.62);
  box-shadow:
    0 0 36px rgba(124,58,237,0.30),
    0 0 64px rgba(96,165,250,0.18),
    0 0 92px rgba(124,58,237,0.10);
}

.header-menu-link.is-active span {
  color: #ffffff;
  text-shadow:
    0 0 24px rgba(124,58,237,0.34),
    0 0 42px rgba(96,165,250,0.22),
    0 0 64px rgba(124,58,237,0.12);
  animation: none;
}

.header-user-slot{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 220px;
  margin-left: auto;
  padding-left: 48px;
  transform: translateX(160px);
}

.user-menu{
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0;
}

.user-avatar-btn{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,0.38);
  background: linear-gradient(135deg, rgba(124,58,237,0.18) 0%, rgba(96,165,250,0.14) 100%);
  box-shadow: 0 0 18px rgba(124,58,237,0.14), 0 0 34px rgba(96,165,250,0.08);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.user-avatar-btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 26px rgba(124,58,237,0.22), 0 0 46px rgba(96,165,250,0.12);
  border-color: rgba(124,58,237,0.56);
}

.user-avatar-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

.user-dropdown{
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 234px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(16,16,20,0.96);
  border: 1px solid rgba(124,58,237,0.20);
  box-shadow: 0 0 28px rgba(124,58,237,0.12), 0 22px 50px rgba(0,0,0,0.38);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.user-menu.is-open .user-dropdown{
  display: flex;
}

.user-dropdown-link{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 700;
  background: rgba(255,255,255,0.03);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.user-dropdown-link:hover{
  background: linear-gradient(135deg, rgba(124,58,237,0.18) 0%, rgba(96,165,250,0.12) 100%);
  box-shadow: 0 0 18px rgba(124,58,237,0.12);
  transform: translateX(2px);
}

.profile-file-input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  outline: none;
}

.profile-file-input::file-selector-button{
  height: 40px;
  padding: 0 16px;
  margin-right: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: Arial, Helvetica, sans-serif !important;
}

input::placeholder,
textarea::placeholder {
  font-family: Arial, Helvetica, sans-serif !important;
}

select option {
  font-family: Arial, Helvetica, sans-serif !important;
}

.remember-me-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  font-family: Arial, Helvetica, sans-serif;
}

.remember-me-inline input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(124,58,237,0.45);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 12px rgba(124,58,237,0.10);
  position: relative;
  cursor: pointer;
  margin: 0;
  flex: 0 0 18px;
}

.remember-me-inline input[type="checkbox"]:checked{
  background: linear-gradient(135deg, rgba(124,58,237,0.90) 0%, rgba(96,165,250,0.85) 100%);
  border-color: rgba(124,58,237,0.92);
  box-shadow: 0 0 18px rgba(124,58,237,0.22), 0 0 32px rgba(96,165,250,0.12);
}

.remember-me-inline input[type="checkbox"]:checked::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.remember-me-inline span{
  color: rgba(255,255,255,0.78);
}

.site-header-inline {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10,10,10,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


@media (max-width: 991px) {
  .site-header-inline {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .login-page-footer {
    display: none !important;
  }
}

@media (max-width: 991px) {
  footer:not(.mobile-footer-v1) {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .contact-section {
    margin-top: 72px !important;
    padding: 0 10px;
  }

  .contact-shell {
    padding: 24px !important;
    border-radius: 24px !important;
  }

  .contact-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .contact-layout h2 {
    font-size: 38px !important;
    line-height: 1.06 !important;
  }

  .contact-layout p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
  }

  .contact-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  #contact input,
  #contact select {
    height: 54px !important;
    font-size: 16px !important;
    padding: 0 16px !important;
  }

  #contact textarea {
    min-height: 160px !important;
    font-size: 16px !important;
    padding: 16px !important;
  }

  #contact label {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  #contact button[type="submit"] {
    height: 54px !important;
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  .team-section {
    margin-top: 82px !important;
    padding: 0 12px;
  }

  .team-section h2 {
    font-size: 40px !important;
    line-height: 1.06 !important;
    margin-bottom: 14px !important;
  }

  .team-section > p,
  .team-section p[style*="max-width:760px"] {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    margin-bottom: 32px !important;
  }

  .team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-snap-type: none !important;
  }

  .team-grid::-webkit-scrollbar {
    display: none !important;
  }

  .team-member-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    scroll-snap-align: none !important;
    padding: 24px 18px 20px !important;
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.025) 100%) !important;
    border: 1px solid rgba(124,58,237,0.14) !important;
    box-shadow:
      0 14px 34px rgba(17,24,39,0.30),
      0 0 0 1px rgba(255,255,255,0.02) inset !important;
  }

  .team-member-photo {
    max-width: 260px !important;
    margin: 0 auto 20px auto !important;
    border-radius: 24px !important;
    box-shadow:
      0 14px 30px rgba(0,0,0,0.20),
      0 0 20px rgba(91,61,245,0.10) !important;
  }

  .team-member-card h3 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }

  .team-member-card div[style*="font-size:18px; font-weight:800; color:#5b3df5"] {
    font-size: 16px !important;
    margin-bottom: 18px !important;
  }

  .team-member-card p[style*="max-width:520px"] {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  .team-member-card div[style*="display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin:26px auto 0 auto; max-width:560px;"] {
    gap: 10px !important;
    margin-top: 18px !important;
    max-width: 100% !important;
  }

  .team-member-card span[style*="border-radius:999px"] {
    display: none !important;
  }
}

