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

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0c0f;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e8edf2;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

/* ===== ЛОГОТИПЫ ===== */
.logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.footer-logo {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

.project-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.product-logo {
  height: 120px;
  width: 120px;
  object-fit: contain;
}

.product-logo.large {
  height: 140px;
  width: 140px;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 12, 15, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo-text {
  color: #e8edf2;
}

.logo-studio {
  color: #6a7a8e;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #9aabbf;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5b8aff;
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, #5b8aff, #3d6be0);
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  color: #fff !important;
  font-weight: 600 !important;
  transition: transform 0.2s ease, box-shadow 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(91, 138, 255, 0.3);
}

/* ===== ГЕРОЙ ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(91, 138, 255, 0.1);
  border: 1px solid rgba(91, 138, 255, 0.15);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7ba0ff;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b8aff;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #5b8aff, #a78bfa, #5b8aff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

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

.hero-description {
  font-size: 1.2rem;
  color: #9aabbf;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-description strong {
  color: #7ba0ff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #5b8aff, #3d6be0);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6d9aff, #4a7af0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover:not(.disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(91, 138, 255, 0.35);
}

.btn-primary:hover:not(.disabled)::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #2a3340;
}

.btn-primary.disabled::before {
  display: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: #9aabbf;
  text-decoration: none;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e8edf2;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e8edf2;
}

.stat-label {
  font-size: 0.85rem;
  color: #6a7a8e;
}

/* ===== ТЕЛЕФОН МОКАП ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 100%;
  max-width: 320px;
  background: #14181e;
  border-radius: 42px;
  padding: 0.8rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

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

.phone-screen {
  background: #0d1117;
  border-radius: 32px;
  padding: 0.6rem;
  overflow: hidden;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  font-size: 0.7rem;
  color: #6a7a8e;
}

.phone-icons {
  display: flex;
  gap: 0.3rem;
}

.phone-app {
  background: #141a22;
  border-radius: 20px;
  padding: 0.8rem;
  min-height: 340px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.app-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.app-status {
  font-size: 0.6rem;
  color: #4ade80;
}

.app-messages {
  padding: 0.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message.sent {
  align-self: flex-end;
}

.message-bubble {
  background: #1e2631;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #d0d8e0;
  display: inline-block;
}

.message.sent .message-bubble {
  background: #2b3d6b;
}

.message-time {
  font-size: 0.5rem;
  color: #4a5a6e;
  margin-top: 0.1rem;
  padding: 0 0.2rem;
}

.voice-msg {
  background: #1a2535 !important;
}

.app-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a212a;
  border-radius: 40px;
  padding: 0.4rem 0.8rem;
  margin-top: 0.4rem;
}

.input-placeholder {
  font-size: 0.7rem;
  color: #4a5a6e;
}

.input-send {
  color: #5b8aff;
  font-size: 1.2rem;
}

.phone-bottom {
  display: flex;
  justify-content: center;
  padding: 0.4rem 0 0.2rem;
}

.bottom-bar {
  width: 40%;
  height: 4px;
  background: #2a333e;
  border-radius: 20px;
}

/* ===== ЛЕТАЮЩИЕ ОРБЫ ===== */
.floating-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 138, 255, 0.08), transparent 70%);
  top: -80px;
  right: -80px;
  z-index: 0;
  animation: orb-float 8s ease-in-out infinite;
}

.floating-orb.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.06), transparent 70%);
  bottom: -60px;
  left: -60px;
  top: auto;
  right: auto;
  animation-delay: 3s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.1); }
  66% { transform: translate(-10px, 20px) scale(0.9); }
}

/* ===== СЕКЦИЯ ПРОЕКТОВ ===== */
.projects-section {
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.01);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header.left {
  text-align: left;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #5b8aff;
  background: rgba(91, 138, 255, 0.1);
  padding: 0.2rem 1rem;
  border-radius: 40px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1.1rem;
  color: #6a7a8e;
  max-width: 600px;
  margin: 0 auto;
}

.section-header.left .section-description {
  margin: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #14181e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 138, 255, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 138, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #6a7a8e;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.project-platforms {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.project-platforms .platform {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  font-size: 0.65rem;
  color: #6a7a8e;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.project-link {
  display: inline-block;
  color: #5b8aff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #7ba0ff;
}

.project-tag {
  display: inline-block;
  background: rgba(91, 138, 255, 0.08);
  color: #7ba0ff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.8rem;
  border-radius: 40px;
}

.project-tag.development {
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
}

/* ===== OKSCORD СЕКЦИЯ ===== */
.okscord-section {
  padding: 5rem 2rem;
  background: #0d1117;
}

.okscord-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.okscord-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.okscord-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: #d0d8e0;
}

.check {
  color: #4ade80;
  font-weight: 700;
  font-size: 1.1rem;
}

.okscord-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-badge {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  color: #6a7a8e;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.platform-badge.windows {
  border-color: #0078d4;
  color: #0078d4;
}

.platform-badge.android {
  border-color: #3ddc84;
  color: #3ddc84;
}

.platform-badge.web {
  border-color: #5b8aff;
  color: #5b8aff;
}

.platform-badge.ios {
  border-color: #8e8e93;
  color: #8e8e93;
}

.platform-badge.mac {
  border-color: #8e8e93;
  color: #8e8e93;
}

.platform-badge.linux {
  border-color: #fbbf24;
  color: #fbbf24;
}

.okscord-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.okscord-site {
  color: #5b8aff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.okscord-site:hover {
  color: #7ba0ff;
}

.okscord-badge {
  background: linear-gradient(135deg, #14181e, #1a212a);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 32px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.badge-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5b8aff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.badge-label {
  color: #6a7a8e;
  font-size: 0.9rem;
}

.okscord-rating {
  text-align: center;
}

.stars {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  color: #fbbf24;
}

.rating-text {
  display: block;
  font-size: 0.85rem;
  color: #6a7a8e;
  margin-top: 0.2rem;
}

/* ===== STRAZH СЕКЦИЯ ===== */
.strazh-section {
  padding: 5rem 2rem;
  background: #0a0c0f;
}

.strazh-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.strazh-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.strazh-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: #d0d8e0;
}

.strazh-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.strazh-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.strazh-badge {
  background: linear-gradient(135deg, #14181e, #1a212a);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 32px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.badge-status {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fbbf24;
  display: block;
}

.badge-label {
  color: #6a7a8e;
  font-size: 0.9rem;
}

/* ===== КОНТАКТ ===== */
.contact-section {
  padding: 5rem 2rem;
  background: #0d1117;
}

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

.contact-content {
  background: linear-gradient(135deg, rgba(91, 138, 255, 0.05), rgba(167, 139, 250, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 40px;
  padding: 4rem;
  text-align: center;
}

.contact-content h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.contact-content p {
  color: #6a7a8e;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-email {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #7ba0ff;
  background: rgba(91, 138, 255, 0.05);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  display: inline-block;
  border: 1px solid rgba(91, 138, 255, 0.1);
}

/* ===== ФУТЕР ===== */
.footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6a7a8e;
  font-size: 0.9rem;
}

.footer-year {
  color: #3a4a5e;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #6a7a8e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-links a:hover {
  color: #e8edf2;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .hero-container,
  .okscord-container,
  .strazh-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .section-header.left {
    text-align: center;
  }

  .section-header.left .section-description {
    margin: 0 auto;
  }

  .okscord-features,
  .strazh-features {
    align-items: center;
  }

  .okscord-actions,
  .strazh-actions {
    align-items: center;
  }

  .platform-badges {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .contact-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    padding: 2rem 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }

  .phone-mockup {
    max-width: 260px;
  }

  .product-logo.large {
    height: 100px;
    width: 100px;
  }
}