:root {
  
  --blue-electric: #3A4EE1;
  --magenta-tech: #CF1CD5;
  --violet-mid: #6D3DDD;

  
  --bg-dark: #0A0A1A;
  --bg-dark-alt: #12122A;
  --bg-card: #1A1A2E;

  
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;

  
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 24px;

  
  --shadow-glow-blue: 0 0 40px rgba(58, 78, 225, 0.3);
  --shadow-glow-magenta: 0 0 40px rgba(207, 28, 213, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.5);

  
  --gradient-primary: linear-gradient(135deg, #3A4EE1 0%, #6D3DDD 50%, #CF1CD5 100%);
  --gradient-bg: linear-gradient(180deg, #0A0A1A 0%, #12122A 100%);
  --gradient-border: linear-gradient(90deg, #3A4EE1, #CF1CD5, #3A4EE1);
  --gradient-glass: linear-gradient(135deg, rgba(58, 78, 225, 0.1) 0%, rgba(207, 28, 213, 0.05) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(58, 78, 225, 0.5), rgba(207, 28, 213, 0.5));

  
  --color-success: #10b981;
  --color-error:   #ef4444;
  --color-warning: #f59e0b;

  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-primary);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  
  --fs-xs: 0.75rem;    
  --fs-sm: 0.875rem;   
  --fs-base: 1rem;     
  --fs-lg: 1.125rem;   
  --fs-xl: 1.25rem;    
  --fs-2xl: 1.5rem;    
  --fs-3xl: 1.875rem;  
  --fs-4xl: 2.25rem;   
  --fs-5xl: 3rem;      
  --fs-6xl: 3.75rem;   
  --fs-7xl: 4.5rem;    

  
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  
  --space-xs: 0.5rem;   
  --space-sm: 0.75rem;  
  --space-md: 1rem;     
  --space-lg: 1.5rem;   
  --space-xl: 2rem;     
  --space-2xl: 3rem;    
  --space-3xl: 4rem;    
  --space-4xl: 6rem;    
  --space-5xl: 8rem;    

  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  
  --z-behind: -1;
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-fixed: 1200;
  --z-modal-backdrop: 1300;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-tooltip: 1600;

  
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  --navbar-height: 80px;
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;    
    --fs-6xl: 3rem;      
    --fs-7xl: 3.5rem;    
    --navbar-height: 70px;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-4xl: 1.875rem;  
    --fs-5xl: 2rem;      
    --fs-6xl: 2.5rem;    
    --fs-7xl: 3rem;      
    --navbar-height: 64px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  z-index: var(--z-behind);
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--fs-6xl); }
h2 { font-size: var(--fs-5xl); }
h3 { font-size: var(--fs-4xl); }
h4 { font-size: var(--fs-3xl); }
h5 { font-size: var(--fs-2xl); }
h6 { font-size: var(--fs-xl); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

a {
  color: var(--blue-electric);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--magenta-tech);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: var(--container-2xl);
}

.container-narrow {
  max-width: var(--container-lg);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-4xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-behind);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              opacity var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(58, 78, 225, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--violet-mid), var(--magenta-tech));
  box-shadow: 0 6px 30px rgba(207, 28, 213, 0.5);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--blue-electric);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--blue-electric);
}

.btn-outline:hover {
  background: var(--blue-electric);
  color: white;
  box-shadow: 0 0 20px rgba(58, 78, 225, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(58, 78, 225, 0.14);
  border-color: rgba(58, 78, 225, 0.5);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(58, 78, 225, 0.25);
}

.btn-ghost i {
  color: var(--blue-electric);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 40px;
  font-size: var(--fs-lg);
}

.btn-sm {
  padding: 10px 24px;
  font-size: var(--fs-sm);
}

*:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(58, 78, 225, 0.2);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 2px;
  border-color: var(--blue-electric);
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: var(--z-modal);
  padding: var(--space-md) var(--space-lg);
  background: var(--blue-electric);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.skip-to-content:focus {
  left: 50%;
  top: var(--space-md);
  transform: translateX(-50%);
}

.icon-glow {
  filter: drop-shadow(0 0 8px var(--blue-electric));
  transition: filter var(--transition-base);
}

.icon-glow:hover {
  filter: drop-shadow(0 0 16px var(--magenta-tech));
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  h1 { font-size: var(--fs-5xl); }
  h2 { font-size: var(--fs-4xl); }
  h3 { font-size: var(--fs-3xl); }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .btn {
    padding: 12px 24px;
    font-size: var(--fs-sm);
  }
}

.tp-badge {
    --tp-green: #00b67a;
    --rating-star: #f5a623;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-md, 8px);
    border: 1px solid rgba(0, 182, 122, 0.25);
    background: rgba(0, 182, 122, 0.06);
    transition: border-color .2s, background .2s;
}
.tp-badge:hover { border-color: rgba(0,182,122,.5); background: rgba(0,182,122,.1); }
.tp-badge-brand { font-weight: 700; font-size: .85rem; color: var(--tp-green); letter-spacing: -.01em; }
.tp-badge-stars { font-size: .8rem; color: var(--rating-star); display: inline-flex; gap: 2px; }
.tp-badge-score { font-size: .85rem; color: var(--text-primary); }
.tp-badge-count { font-size: .8rem; color: var(--text-secondary); white-space: nowrap; }
.tp-widget-link { font-size: .85rem; color: var(--text-secondary); }
.footer-rating { margin: var(--space-md) 0; }

.page-hero {
    margin-top: var(--navbar-height);
    padding: var(--space-5xl) 0 var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: min(700px, 100%);
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(58,78,225,.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero-badge {
    display: inline-flex;
    margin-bottom: var(--space-xl);
}

.page-hero-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    font-size: var(--fs-5xl);
    color: #fff;
    margin: 0 auto var(--space-xl);
    box-shadow: 0 0 40px rgba(58,78,225,.35);
    animation: float 3s ease-in-out infinite;
}

.page-hero h1 {
    font-size: clamp(var(--fs-4xl), 5vw, var(--fs-6xl));
    margin-bottom: var(--space-lg);
    line-height: var(--lh-tight);
}

.page-hero-subtitle {
    font-size: var(--fs-xl);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-2xl);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.page-hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px var(--space-md);
    background: rgba(255,255,255,.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    white-space: nowrap;
}

.page-hero-highlight i {
    color: var(--color-success);
    font-size: .7rem;
}

.page-hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.page-hero-rating {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .page-hero { padding: var(--space-4xl) 0 var(--space-3xl); }
    .page-hero h1 { font-size: var(--fs-4xl); }
    .page-hero-subtitle { font-size: var(--fs-lg); }
    .page-hero-icon { width: 80px; height: 80px; font-size: var(--fs-4xl); }
    .page-hero-cta { gap: var(--space-md); }
    .page-hero-cta .btn-lg { width: 100%; justify-content: center; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.legal-content-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-panel {
    padding: var(--space-xl);
    background: rgba(58, 78, 225, 0.05);
}

.legal-footnote {
    font-style: italic;
    font-size: var(--fs-sm);
}

.note-callout {
    background: rgba(58, 78, 225, 0.1);
    border-left: 3px solid var(--blue-electric);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
    border-radius: var(--radius-md);
}

.note-callout > p {
    margin: 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-title {
  font-size: var(--fs-5xl);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
}

.cta-card {
  padding: 0;
}

.cta-card .glass-card-premium-content {
  text-align: center;
  padding: var(--space-5xl) var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.cta-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  font-size: var(--fs-6xl);
  color: white;
}

.cta-title {
  font-size: var(--fs-5xl);
  margin: 0;
}

.cta-description {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0;
  line-height: var(--lh-relaxed);
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--fs-lg);
  transition: color var(--transition-fast);
}

.cta-contact-item:hover {
  color: var(--blue-electric);
}

.cta-contact-item i {
  color: var(--blue-electric);
}

.cta-contact .separator {
  color: var(--text-muted);
}

.about-hero {
  margin-top: var(--navbar-height);
  padding: var(--space-5xl) 0 var(--space-4xl);
  text-align: center;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: var(--fs-6xl);
  margin-bottom: var(--space-xl);
}

.about-hero-description {
  font-size: var(--fs-2xl);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

.legal-section {
  padding: var(--space-5xl) 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: var(--fs-4xl);
  }

  .section-description {
    font-size: var(--fs-lg);
  }

  .about-hero h1 {
    font-size: var(--fs-4xl);
  }

  .about-hero-description {
    font-size: var(--fs-xl);
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .cta-card .glass-card-premium-content {
    padding: var(--space-3xl) var(--space-xl);
  }

  .cta-icon {
    width: 80px;
    height: 80px;
    font-size: var(--fs-5xl);
  }

  .cta-title {
    font-size: var(--fs-3xl);
  }

  .cta-description {
    font-size: var(--fs-base);
  }

  .cta-contact {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cta-contact .separator {
    display: none;
  }
}

.hero-subtitle {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: var(--lh-tight);
}

.hero-subtitle .typing-text {
  color: var(--magenta-tech);
  font-weight: var(--fw-bold);
}

.typing-text::after {
  content: '|';
  color: var(--magenta-tech);
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: var(--fs-2xl);
  }
}

.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(58, 78, 225, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-2xl);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(58, 78, 225, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(58, 78, 225, 0.2),
    0 0 0 1px rgba(58, 78, 225, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 60px rgba(58, 78, 225, 0.05);
  transform: translateY(-8px) scale(1.02);
}

.glass-card-static {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(58, 78, 225, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: var(--space-2xl);
}

.glass-card-premium {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-premium::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #3A4EE1, #CF1CD5, #3A4EE1);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: gradientFlow 6s linear infinite;
  z-index: 0;
}

@keyframes gradientFlow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.glass-card-premium::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-card);
  border-radius: calc(var(--radius-xl) - 2px);
  z-index: 1;
  pointer-events: none;
}

.glass-card-premium-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
}

.glass-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(207, 28, 213, 0.4),
    inset 0 0 80px rgba(58, 78, 225, 0.1);
}

.navbar-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(10, 10, 26, 0.55);
  backdrop-filter: blur(40px) saturate(180%) brightness(1.15);
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(58, 78, 225, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(58, 78, 225, 0.04);
  z-index: var(--z-fixed);
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 78, 225, 0.05) 0%,
    rgba(207, 28, 213, 0.02) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.navbar-glass.scrolled {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(48px) saturate(200%) brightness(1.2);
  -webkit-backdrop-filter: blur(48px) saturate(200%) brightness(1.2);
  border-bottom-color: rgba(58, 78, 225, 0.25);
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(58, 78, 225, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(58, 78, 225, 0.08),
    0 0 30px rgba(58, 78, 225, 0.04);
}

.glass-panel {
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.glass-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 78, 225, 0.1),
    transparent 50%,
    rgba(207, 28, 213, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-btn:hover::before {
  opacity: 1;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--blue-electric);
  box-shadow:
    0 0 30px rgba(58, 78, 225, 0.4),
    0 0 60px rgba(58, 78, 225, 0.2),
    inset 0 0 20px rgba(58, 78, 225, 0.1);
  transform: translateY(-2px);
}

.glass-input {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--transition-smooth),
              background var(--transition-smooth),
              box-shadow var(--transition-smooth);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.glass-input:focus {
  outline: none;
  border-color: var(--blue-electric);
  background: var(--glass-bg-hover);
  box-shadow:
    0 0 0 3px rgba(58, 78, 225, 0.15),
    inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.glass-textarea {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(58, 78, 225, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(58, 78, 225, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}

.glass-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
  margin: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  .glass-card,
  .glass-card-static,
  .glass-card-premium-content {
    padding: var(--space-xl);
  }

  .glass-panel {
    padding: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .glass-card,
  .glass-card-static,
  .glass-card-premium-content {
    padding: var(--space-lg);
  }

  .glass-badge {
    font-size: var(--fs-xs);
    padding: 4px 12px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(58, 78, 225, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(207, 28, 213, 0.6);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(200%);
  }
}

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

@keyframes slideUpBounce {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px);
  }
  80% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes scaleInBounce {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(58, 78, 225, 0.3);
    box-shadow: 0 0 20px rgba(58, 78, 225, 0.2);
  }
  50% {
    border-color: rgba(207, 28, 213, 0.5);
    box-shadow: 0 0 40px rgba(207, 28, 213, 0.4);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(-20px) translateX(-5px);
  }
  75% {
    transform: translateY(-10px) translateX(5px);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

.animate-rotate {
  animation: rotate 20s linear infinite;
}

.animate-slide-up-bounce {
  animation: slideUpBounce 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale-in-bounce {
  animation: scaleInBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-border-glow {
  animation: borderGlow 3s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.hover-lift {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  filter: brightness(1.1);
}

.hover-scale {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.hover-glow {
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
  box-shadow:
    0 0 40px rgba(58, 78, 225, 0.6),
    0 0 80px rgba(58, 78, 225, 0.3);
  filter: brightness(1.15);
}

.hover-tilt {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.hover-tilt:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-5px);
}

.hover-shine {
  position: relative;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.hover-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotateZ(60deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.hover-shine:hover::after {
  transform: rotateZ(60deg) translateX(100%);
}

.gradient-animated {
  background: linear-gradient(
    270deg,
    var(--blue-electric),
    var(--violet-mid),
    var(--magenta-tech),
    var(--violet-mid),
    var(--blue-electric)
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.circuit-line {
  position: relative;
  overflow: hidden;
}

.circuit-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue-electric),
    var(--magenta-tech),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

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

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  gap: var(--space-2xl);
}

.nav-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(58, 78, 225, 0.3));
  transition: filter var(--transition-base);
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 20px rgba(207, 28, 213, 0.5));
}

.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  transition: color var(--transition-base),
              background var(--transition-base),
              box-shadow var(--transition-base);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-electric);
  background: rgba(58, 78, 225, 0.15);
  box-shadow: 0 0 12px rgba(58, 78, 225, 0.2);
}

.nav-link i {
  font-size: var(--fs-sm);
  transition: transform var(--transition-base);
}

.nav-item.has-megamenu .nav-link:hover i,
.nav-item.has-megamenu.active .nav-link i {
  transform: rotate(180deg);
}

.megamenu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.98);
  min-width: 600px;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-smooth),
              visibility var(--transition-smooth),
              transform var(--transition-smooth);
  z-index: var(--z-dropdown);
  
  background: rgba(18, 18, 42, 0.95) !important;
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(58, 78, 225, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.megamenu:hover {
  background: rgba(18, 18, 42, 0.95) !important;
}

.nav-item.has-megamenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  z-index: var(--z-dropdown);
}

@media (min-width: 1025px) {
  .nav-item.has-megamenu:hover .megamenu,
  .nav-item.has-megamenu.active .megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.megamenu-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: background var(--transition-smooth),
              border-color var(--transition-smooth),
              box-shadow var(--transition-smooth),
              transform var(--transition-smooth);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.megamenu-item:hover {
  background: rgba(58, 78, 225, 0.15);
  border-color: rgba(58, 78, 225, 0.4);
  box-shadow:
    0 4px 16px rgba(58, 78, 225, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.megamenu-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: var(--fs-2xl);
  color: white;
}

.megamenu-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.megamenu-content strong {
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
}

.megamenu-content span {
  color: var(--blue-electric);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.megamenu-content small {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #3A4EE1 0%, #6D3DDD 50%, #CF1CD5 100%);
  color: white !important;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(58, 78, 225, 0.4);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #6D3DDD 0%, #CF1CD5 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  border-radius: inherit;
  z-index: -1;
}

.nav-cta:hover::before {
  opacity: 1;
}

.nav-cta:hover {
  box-shadow:
    0 6px 24px rgba(207, 28, 213, 0.5),
    0 0 30px rgba(207, 28, 213, 0.3);
  transform: translateY(-2px);
  color: white !important;
}

.nav-cta i {
  font-size: var(--fs-lg);
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.nav-cta:hover i {
  transform: scale(1.1);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: white;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: white;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    align-self: center;
  }

  
  .nav-cta {
    display: none;
  }

  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh; 
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    background: linear-gradient(
      180deg,
      rgba(10, 10, 26, 0.85) 0%,
      rgba(18, 18, 42, 0.90) 50%,
      rgba(10, 10, 26, 0.85) 100%
    );
    backdrop-filter: blur(50px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(50px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: calc(var(--navbar-height) + var(--space-md)) 0 0 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  
  .nav-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--space-md) var(--space-md) var(--space-md);
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 0;
    justify-content: space-between;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
  }

  .nav-link i {
    font-size: var(--fs-sm);
    margin-left: var(--space-sm);
  }

  
  .megamenu {
    position: absolute;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    height: 0;
    opacity: 0;
    visibility: hidden;
  }

  .nav-item.has-megamenu .megamenu {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-item.has-megamenu.active .megamenu {
    position: static;
    opacity: 1;
    visibility: visible;
    max-height: 2000px;
    height: auto;
    padding: 0;
    overflow: visible;
  }

  .megamenu-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  
  .megamenu-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0 var(--space-lg) var(--space-lg);
    margin: 0;
    border-radius: 0;
    transition: background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
  }

  .megamenu-item:last-child {
    border-bottom: none;
  }

  .megamenu-item:hover,
  .megamenu-item:active {
    background: rgba(58, 78, 225, 0.08);
    transform: none;
  }

  .megamenu-icon {
    width: 32px;
    height: 32px;
    font-size: var(--fs-base);
    flex-shrink: 0;
  }

  .megamenu-content {
    flex: 1;
    min-width: 0;
  }

  .megamenu-content strong {
    font-size: var(--fs-sm);
    display: block;
    margin-bottom: 2px;
    line-height: 1.3;
  }

  .megamenu-content span,
  .megamenu-content small {
    font-size: 11px;
    line-height: 1.2;
    display: block;
  }

  
  .nav-menu.active .nav-cta {
    display: flex;
    position: relative;
    margin: var(--space-lg);
    padding: 16px 24px;
    justify-content: center;
    z-index: 10001;
    box-shadow:
      0 -4px 20px rgba(0, 0, 0, 0.3),
      0 8px 32px rgba(58, 78, 225, 0.5);
    animation: slideUpFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  }
}

@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .nav-logo img {
    height: 40px;
  }

  .nav-menu {
    padding: calc(var(--navbar-height) + var(--space-sm)) 0 0 0;
  }

  .nav-list {
    padding: var(--space-sm) var(--space-sm) var(--space-sm);
  }

  .nav-link {
    padding: 0;
    font-size: var(--fs-base);
    height: 50px;
  }

  .nav-menu.active .nav-cta {
    font-size: var(--fs-sm);
    padding: 14px 20px;
    margin: var(--space-md);
  }

  .megamenu-item {
    padding: var(--space-md) 0 var(--space-md) var(--space-md);
    gap: var(--space-xs);
    min-height: 50px;
  }

  .megamenu-icon {
    width: 28px;
    height: 28px;
    font-size: var(--fs-sm);
  }

  .megamenu-content strong {
    font-size: 13px;
  }

  .megamenu-content span,
  .megamenu-content small {
    font-size: 10px;
  }
}

.footer {
  position: relative;
  background: var(--bg-dark-alt);
  padding-top: var(--space-5xl);
  padding-bottom: 0;
  margin-top: var(--space-5xl);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand {
  max-width: 350px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 10px rgba(58, 78, 225, 0.3));
}

.footer-description {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xs);
}

.footer-brand .tp-badge {
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-lg);
  transition: background var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 78, 225, 0.4);
}

.footer-title {
  color: var(--text-primary);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--blue-electric);
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.footer-contact i {
  width: 20px;
  color: var(--blue-electric);
  font-size: var(--fs-lg);
}

.footer-contact a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--text-primary);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
  margin: var(--space-2xl) 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin: 0;
}

.footer-copyright strong {
  color: var(--text-primary);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-sm);
}

.footer-legal a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-primary);
}

.footer-legal .separator {
  color: var(--text-secondary);
}

.footer-trust {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.trust-item i {
  color: var(--blue-electric);
  font-size: var(--fs-lg);
}

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: var(--space-4xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    text-align: center;
    grid-column: auto;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-items {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-legal .separator {
    display: none;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}

.show-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .show-mobile {
    display: block !important;
  }
}

.show-tablet {
  display: none !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .show-tablet {
    display: block !important;
  }
}

@media (max-width: 768px) {
  
  button,
  .btn,
  a {
    min-height: 44px;
    min-width: 44px;
  }

  
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  
  html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

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

  
  .section {
    padding: var(--space-3xl) 0;
  }

  
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 var(--space-xl);
  }

  
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .navbar-glass {
    height: 60px;
  }

  :root {
    --navbar-height: 60px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: var(--container-2xl);
  }

  
  .hero h1 {
    font-size: var(--fs-7xl);
  }

  .section-title {
    font-size: var(--fs-6xl);
  }
}

@media print {
  
  header,
  footer,
  .nav-toggle,
  .back-to-top,
  #particles-js,
  .hero-decoration {
    display: none !important;
  }

  
  body {
    color: #000;
    background: #fff;
  }

  
  a[href]:after {
    content: " (" attr(href) ")";
  }

  
  section {
    page-break-inside: avoid;
  }
}

@media (prefers-contrast: high) {
  :root {
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --bg-dark: #000000;
    --bg-dark-alt: #0A0A0A;
    --glass-border: rgba(255, 255, 255, 0.3);
  }

  .btn-primary {
    border: 2px solid white;
  }

  .glass-card {
    border-width: 2px;
  }
}

@media (hover: none) and (pointer: coarse) {
  
  .glass-card:hover {
    transform: none;
  }

  
  .nav-link {
    padding: var(--space-lg);
  }

  
  .megamenu {
    transition: none;
  }
}

@supports (padding: max(0px)) {
  .container {
    padding-left: max(var(--space-xl), env(safe-area-inset-left));
    padding-right: max(var(--space-xl), env(safe-area-inset-right));
  }

  .navbar-glass {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --fs-2xl: 1.25rem;
    --space-3xl: 2rem;
    --space-2xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .glass-card,
  .glass-card-static,
  .glass-card-premium-content {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: var(--fs-base);
  }

  
  .services-grid,
  .values-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  
  .glass-card:hover,
  .hover-lift:hover {
    transform: translateY(-4px);
  }

  
  .hero {
    padding: var(--space-3xl) 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: var(--fs-3xl);
    line-height: 1.2;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    padding: var(--space-lg);
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .container {
    max-width: var(--container-xl);
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .container {
    max-width: var(--container-xl);
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  :root {
    --fs-7xl: 5rem;
    --fs-6xl: 4rem;
  }

  .glass-card {
    padding: var(--space-3xl);
  }
}

@media (max-width: 640px) {
  
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  
  .services-grid,
  .values-grid,
  .pricing-grid,
  .faq-grid {
    gap: var(--space-lg);
  }

  
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  
  .glass-card {
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
  }

  
  .animate-float,
  .animate-float-slow {
    animation: none;
  }
}

@media (max-width: 768px) {
  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  
  .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
