@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-tertiary: #1a1a1d;
  --bg-elevated: #141416;
  --bg-card: rgba(20, 20, 22, 0.7);
  --text-primary: #ffffff;
  --text-secondary: #e4e4e7;
  --text-tertiary: rgba(228, 228, 231, 0.6);
  --accent: #ff4000;
  --accent-hover: #ff5520;
  --accent-dark: #cc3300;
  --accent-glow: rgba(255, 64, 0, 0.4);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --success: #30d158;
  --warning: #ffd60a;
  --danger: #ff453a;
  --blur-bg: rgba(17, 17, 19, 0.85);
  
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px var(--accent-glow);
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(255, 64, 0, 0.15), transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 10%, rgba(255, 64, 0, 0.08), transparent 40%),
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(255, 100, 50, 0.06), transparent 35%);
  min-height: 100vh;
}

/* Навигация */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(17, 17, 19, 0.75);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 12px 32px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  width: auto;
  max-width: calc(100% - 32px);
}

.navbar .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  gap: 8px;
  list-style: none;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  padding: 6px;
}

.navbar-end {
  width: auto;
}

.nav-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero секция */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 64, 0, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 20%, rgba(255, 64, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(255, 100, 50, 0.08) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 64, 0, 0.3) 0%, rgba(255, 100, 50, 0.1) 50%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: all var(--transition-normal);
  animation: fadeInUp 0.6s ease-out backwards;
  position: relative;
  overflow: hidden;
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 64, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.hero-stat-card:nth-child(1) { animation-delay: 0.3s; }
.hero-stat-card:nth-child(2) { animation-delay: 0.4s; }
.hero-stat-card:nth-child(3) { animation-delay: 0.5s; }

.hero-stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 64, 0, 0.5);
  box-shadow: 0 20px 60px rgba(255, 64, 0, 0.3), 0 0 40px rgba(255, 64, 0, 0.2), 0 0 0 1px rgba(255, 64, 0, 0.1) inset;
}

.hero-stat-card:hover::before {
  opacity: 1;
}

.hero-stat-number {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 0 40px var(--accent-glow);
}

.hero-stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: 0.1s;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000000;
  padding: 10px 22px;
  border-radius: var(--radius-lg);
  font-size: 12px;
  font-weight: 700;
  border: none;
  backdrop-filter: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all var(--transition-normal);
  cursor: default;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.hero-name {
  font-size: 96px !important;
  font-weight: 900 !important;
  color: var(--text-primary) !important;
  margin-bottom: 24px !important;
  letter-spacing: -4px !important;
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: 0.1s;
  line-height: 1 !important;
  text-shadow: 0 4px 60px rgba(255, 255, 255, 0.15), 0 0 80px rgba(255, 64, 0, 0.2) !important;
  display: block !important;
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  line-height: 1.1;
  opacity: 0.95;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--text-secondary) 0%, var(--text-tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 28px var(--accent-glow), 0 0 20px rgba(255, 64, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--accent-glow), 0 0 40px rgba(255, 64, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  opacity: 0.9;
}

/* Секции */
section {
  padding: 100px 24px;
  position: relative;
}

section h2 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 56px;
  text-align: center;
  color: var(--text-primary);
}

/* Карточки */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 64, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 64, 0, 0.15), 0 0 0 1px rgba(255, 64, 0, 0.1) inset;
  border-color: rgba(255, 64, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 64, 0, 0.15) 0%, rgba(255, 64, 0, 0.05) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 64, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.card p {
  color: var(--text-tertiary);
  font-size: 15px;
  line-height: 1.7;
}

/* Статистика */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 64, 0, 0.3);
  box-shadow: 0 20px 60px rgba(255, 64, 0, 0.15);
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.stat-label {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Projects Section */
.projects-section {
  padding: 32px 24px 100px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255, 64, 0, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 64, 0, 0.2);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(255, 64, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -1px;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-btn:hover {
  background: rgba(255, 64, 0, 0.1);
  border-color: rgba(255, 64, 0, 0.3);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Project Cards */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeInUp 0.6s ease-out backwards;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 64, 0, 0.15) 0%, rgba(255, 64, 0, 0.05) 100%);
  border: 1px solid rgba(255, 64, 0, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.project-content {
  flex: 1;
  min-width: 0;
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.project-description {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 8px 0;
  transition: all var(--transition-fast);
}

.footer-column a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-copyright p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

.footer-made {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-brand {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
  
  .footer-column a:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 8px;
    left: 8px;
    right: 8px;
    transform: none;
    width: auto;
    max-width: none;
    padding: 10px 16px;
    border-radius: var(--radius-xl);
  }
  
  .navbar .container {
    gap: 8px;
  }
  
  .navbar-brand {
    font-size: 18px;
  }
  
  .navbar-nav {
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-md);
  }
  
  .navbar-end {
    display: none;
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-name {
    font-size: 42px !important;
    letter-spacing: -1.5px !important;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 14px;
    padding: 0 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
  }
  
  .hero-stat-card {
    padding: 20px 16px;
  }
  
  .hero-stat-number {
    font-size: 36px;
  }
  
  .hero-stat-label {
    font-size: 13px;
  }
  
  section h2 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .projects-section {
    padding: 48px 16px 60px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .project-card {
    padding: 20px;
    gap: 16px;
  }
  
  .project-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
  }
  
  .project-title {
    font-size: 16px;
  }
  
  .project-description {
    font-size: 13px;
  }
  
  .footer {
    padding: 36px 16px 24px;
  }
  
  .footer-main {
    gap: 32px;
    margin-bottom: 28px;
  }
  
  .footer-logo {
    font-size: 22px;
  }
  
  .footer-tagline {
    font-size: 13px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-column h4 {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .footer-column a {
    font-size: 13px;
    padding: 6px 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 16px;
  }
  
  .footer-copyright p,
  .footer-made {
    font-size: 11px;
  }
  
  .social-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 8px 12px;
  }
  
  .navbar-brand {
    font-size: 16px;
  }
  
  .nav-link {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero-name {
    font-size: 34px !important;
  }
  
  .hero-badges-container {
    gap: 6px;
  }
  
  .hero-badge {
    font-size: 10px;
    padding: 6px 10px;
  }
}

/* Утилиты */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Анимации появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 64, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 64, 0, 0.6);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

.stat-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Эффект свечения для акцентных элементов */
.hero-badge {
  animation: none;
}

/* Скроллбар */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 5px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 64, 0, 0.4);
}

/* Выделение текста */
::selection {
  background: rgba(255, 64, 0, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(255, 64, 0, 0.3);
  color: var(--text-primary);
}

/* ============================================
   УВЕДОМЛЕНИЯ В СТИЛЕ macOS/iOS
   ============================================ */

.ios-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  max-width: 380px;
  width: calc(100% - 48px);
  background: rgba(30, 30, 32, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  padding: 16px 18px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.ios-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.ios-notification.hide {
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ios-notification-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ios-notification-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 64, 0, 0.4);
}

.ios-notification-app {
  flex: 1;
  min-width: 0;
}

.ios-notification-app-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.ios-notification-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ios-notification-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ios-notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: scale(1.1);
}

.ios-notification-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.ios-notification-actions {
  display: flex;
  gap: 10px;
}

.ios-notification-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.ios-notification-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 64, 0, 0.3);
}

.ios-notification-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 64, 0, 0.45);
}

.ios-notification-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.ios-notification-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

/* Анимация появления с bounce эффектом */
@keyframes notificationSlideIn {
  0% {
    transform: translateX(120%);
    opacity: 0;
  }
  60% {
    transform: translateX(-8px);
    opacity: 1;
  }
  80% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.ios-notification.animate-in {
  animation: notificationSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .ios-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    padding: 14px 16px;
  }
  
  .ios-notification-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  
  .ios-notification-title {
    font-size: 14px;
  }
  
  .ios-notification-body {
    font-size: 13px;
  }
}