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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0a0a0a;
  color: #ededed;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #a855f7;
}

/* Header */
.header {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.header-content h1 {
  font-size: clamp(2rem, 8vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.header-content h2 {
  font-size: 20px;
  font-weight: 500;
  color: #a855f7;
  margin-bottom: 8px;
}

.header-content .subtitle {
  font-size: 16px;
  color: #888;
  margin-bottom: 28px;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

/* Sections */
.section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  scroll-margin-top: 72px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.section-title span {
  background: linear-gradient(135deg, #fff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* About */
.about-text {
  font-size: 16px;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  margin-top: 20px;
}

.about-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #b0b0b0;
  font-size: 15px;
}

.about-list li:before {
  content: "•";
  color: #a855f7;
  font-size: 18px;
  position: absolute;
  left: 0;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card h3 {
  font-size: 20px;
  color: #a855f7;
  margin-bottom: 16px;
}

.skill-card ul {
  list-style: none;
}

.skill-card li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: #b0b0b0;
  font-size: 14px;
}

.skill-card li:before {
  content: "▹";
  color: #a855f7;
  position: absolute;
  left: 0;
}

/* Experience */
.exp-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  border-left: 3px solid #a855f7;
}

.exp-item p {
  color: #b0b0b0;
  margin: 8px 0;
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
}

.case-content {
  padding: 20px;
  flex: 1;
}

.case-title {
  font-size: 16px;
  font-weight: 700;
  color: #a855f7;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-highlight {
  background: rgba(168, 85, 247, 0.1);
  padding: 10px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 13px;
  color: #a855f7;
  font-weight: 500;
}

.case-description {
  color: #b0b0b0;
  font-size: 13px;
  margin: 12px 0;
  line-height: 1.5;
}

.case-list {
  list-style: none;
  margin: 12px 0;
}

.case-list li {
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  font-size: 12px;
  color: #9a9a9a;
}

.case-list li:before {
  content: "✓";
  color: #a855f7;
  position: absolute;
  left: 0;
  font-size: 11px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
  font-size: 12px;
}

.result-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
}

.result-label {
  color: #888;
  font-size: 10px;
}

.result-value {
  color: #a855f7;
  font-weight: 600;
  font-size: 14px;
}

/* Swiper Styles */
.case-swiper {
  width: 100%;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.swiper-slide {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.slide-placeholder {
  background: #1a1a1a;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 12px;
  text-align: center;
  padding: 20px;
  border: 1px dashed #333;
  border-radius: 10px;
  width: 100%;
}

.slide-review {
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.5;
  font-style: italic;
}

.slide-review cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 11px;
  color: #a855f7;
}

.swiper-button-next,
.swiper-button-prev {
  color: #a855f7;
  background: rgba(0, 0, 0, 0.5);
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px;
}

.swiper-pagination-bullet-active {
  background: #a855f7;
}

/* Footer */
.footer {
  text-align: center;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-note {
  margin-top: 20px;
  padding: 12px 20px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 30px;
  display: inline-block;
  font-size: 13px;
  color: #a855f7;
}
