* {
  margin: 0;
  padding: 0;
}

.header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 64px;
}

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

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #000;
  color: #fff;
}

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

/* Header */
.header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 22px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: clamp(0.5rem, 4vw, 2rem);
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

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

/* Install Dropdown */
.install-dropdown {
  position: relative;
  display: inline-block;
}

.install-btn {
  background: rgba(230, 100, 50, 0.3);
  color: #e67542;
  border: 1px solid rgba(230, 100, 50, 0.3);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.install-btn:hover,
.install-dropdown:hover .install-btn {
  background: rgba(230, 100, 50, 0.25);
  border-color: rgba(230, 100, 50, 0.5);
  transform: translateY(-2px);
}

.install-dropdown-content {
  position: absolute;
  right: 0;
  background: rgba(20, 20, 20, 0.98);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 1;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  transition-delay: 0s, 0.3s, 0s;
}

.install-dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.install-dropdown-content a:last-child {
  border-bottom: none;
}

.install-dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: 20px;
  box-shadow: inset 3px 0 0 rgba(230, 117, 66, 0.6);
}

.install-dropdown:hover .install-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}

.install-dropdown-content:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  transition: background-color 0.3s;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  padding-top: 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
}

.hero .hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.hero h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero .video-title {
  margin-top: 3rem;
}

.section-delimiter {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 3rem auto;
  width: 60%;
  max-width: 400px;
}

.download-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.6rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
  justify-content: center;
}

.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(20%);
  user-select: none;
}

.btn i {
  font-size: 1.1em;
}

.browser-link {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
}

.browser-link:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 0 50px rgba(255, 255, 255, 1);
}

/* Keep original color scheme on hover for disabled buttons */
.btn.is-disabled:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: none !important;
}

.coming-soon {
  font-size: 0.8rem;
  margin-left: 0.5rem;
  opacity: 0.7;
}

.hero-video {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #fff;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-reverse .feature-content {
  order: 2;
}

.feature-reverse .feature-media {
  order: 1;
}

.feature-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.feature-content p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.6;
}

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

.feature-media img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Pricing Section */
.pricing {
  background: #000;
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.pricing-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 4rem;
}

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

.pricing-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.5s ease, border-color 0.5s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  will-change: transform, border-color;
  overflow: visible;
}

.pricing-card.popular {
  transform: scale(1.05);
}

.pricing-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #fff;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #fff;
}

.price span {
  font-size: 1rem;
  color: #ccc;
}

.original-price {
  text-decoration: line-through;
  color: #666;
  font-size: 1.5rem !important;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.features-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.features-list li.included::before {
  content: "✓";
  color: #00C853;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.features-list li.not-included::before {
  content: "✗";
  color: #666;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.features-list li.motivates,
.features-list li.supports {
  color: #FF6B6B;
}

.btn-install,
.btn-subscribe,
.btn-lifetime {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  width: 100%;
  margin-top: auto;
}

.btn-install:hover,
.btn-subscribe:hover,
.btn-lifetime:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 0 50px rgba(255, 255, 255, 1.4);
}

.pricing-card .btn {
  margin: 0 auto;
  display: block;
  text-align: center;
}

.limited-offer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #FF6B6B;
  text-align: center;
}

.install-extension {
  text-align: center;
}

.install-extension h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

/* FAQ Section */
.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 4rem;
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
  cursor: default;
}

.faq-item p {
  color: #ccc;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: #000;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 4rem;
}

.contact-form {
  padding-bottom: 60px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;

.contact-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1em;
}
}

.btn-submit {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  padding: 1rem 2rem;
  width: 100%;
  font-size: 1.2rem;
}

.btn-submit:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 0 50px rgba(255, 255, 255, 1.4);
}

/* Footer */
.footer {
  background: #1a1a1a;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  position: relative;
  padding-bottom: 4px;
}

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

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

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

/* Responsive Design */
/* Hide logo text when space is limited */
@media (max-width: 876px) {
  .nav-logo span {
    display: none;
  }
}

/* Mobile menu */
@media (max-width: 675px) {
  .nav {
    justify-content: space-between;
    position: relative;
  }

  .nav-links {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .install-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links.active a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .nav-links.active a:last-child {
    border-bottom: none;
  }
}

/* Third: mobile layout with vertical stacking */
@media (max-width: 600px) {
  .hero h1 {
      font-size: 2.5rem;
  }
  
  .hero .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .download-buttons .btn {
    width: 200px;
    justify-content: center;
  }
  
  .feature,
  .feature-reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .feature .feature-content,
  .feature-reverse .feature-content {
    order: 1;
  }
  
  .feature .feature-media,
  .feature-reverse .feature-media {
    order: 2;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px; /* offset for fixed header */
}

/* Loading animations */
.hero-video iframe,
.feature-media img {
  animation: fadeInUp 0.8s ease-out;
}

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

/* Hover effects */
.pricing-card::after {
  content: '';
  position: absolute;
  inset: -4px; /* чуть шире для мягкого внешнего свечения */
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  box-shadow: 0 15px 40px rgba(255,255,255,0.15), 0 0 30px rgba(255,255,255,0.35);
  filter: blur(2px);
}

/* Плавное проявление более яркой белой рамки поверх базовой */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.85);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card:hover::after {
  opacity: 1;
}

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

.faq-item {
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
}

/* Privacy Policy Page */
.privacy-policy {
  padding: 120px 0 80px;
  background: #000;
  min-height: 100vh;
}

/* Anchor offset so #install heading isn't hidden under fixed header
   (nav JS only adjusts links inside .nav; other anchors like pricing button need this) */
#install { scroll-margin-top: 90px; }

.privacy-policy h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.policy-section p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Notifications (top-right like Ant Design) */
.notifications-wrapper {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: auto;
  max-width: 480px;
  pointer-events: none;
  align-items: center;
}

.notification {
  background: rgba(30,30,30,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
  box-shadow: 0 6px 20px -4px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
  animation: message-in 0.28s cubic-bezier(.22,.61,.36,1) forwards;
  pointer-events: auto;
  position: relative;
  font-weight: 500;
}

.notification.success { border-color: rgba(74,222,128,0.45); }
.notification.error { border-color: rgba(255,107,107,0.55); }

.notification .icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.notification.success .icon svg { color: #4ade80; }
.notification.error .icon svg { color: #ff6b6b; }
.notification.info .icon svg { color: #3b82f6; }

@keyframes message-in {
  0% { opacity: 0; transform: translateY(-10px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes message-out {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

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

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  color: #ccc;
  line-height: 1.6;
  margin-left: 1.5rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
}

.policy-section a {
  color: #007AFF;
  text-decoration: none;
  transition: color 0.3s;
}

.policy-section a:hover {
  color: #fff;
}

.back-to-home {
  text-align: center;
  margin-top: 3rem;
}

.back-to-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
