:root {
  --primary: #ff6b9d;
  --primary-light: #ff8fb3;
  --secondary: #c44569;
  --bg: #0f1419;
  --card: #1a1f2e;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --border: rgba(255, 107, 157, 0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(196, 69, 105, 0.08) 50%, rgba(15, 20, 25, 1) 100%), var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Navigation */
.nav {
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.lang-switcher {
  display: flex;
  gap: 8px;
  background: var(--card);
  border-radius: 8px;
  padding: 4px;
}

.lang-link {
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
}

.lang-link.active {
  background: var(--primary);
  color: white;
}

.lang-link:hover:not(.active) {
  color: var(--text);
}

.lang-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: var(--text);
}

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

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

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #ff8fb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 20px;
  color: var(--primary-light);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.badge {
  background: rgba(255, 107, 157, 0.15);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Video Section */
.video-section {
  margin: 60px 0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

/* Screenshots */
.screenshots {
  margin: 80px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

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

.screenshot {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  cursor: pointer;
}

.screenshot:hover {
  transform: scale(1.05);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features */
.features {
  margin: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-desc {
  color: var(--muted);
  line-height: 1.6;
}

/* Download Section */
.download {
  margin: 80px 0;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(196, 69, 105, 0.1));
  border-radius: 20px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.download-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.download-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.download-size {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.download-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Requirements */
.requirements {
  margin: 80px 0;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.req-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.req-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary);
}

.req-list {
  list-style: none;
}

.req-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.req-list li:last-child {
  border-bottom: none;
}

.req-label {
  color: var(--muted);
}

.req-value {
  color: var(--text);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 16px;
}

.footer-section a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* Responsive Design - Mobile Optimizations */
@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding: 0 16px;
  }

  /* Navigation */
  .nav-content {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .logo {
    font-size: 20px;
    flex: 1;
  }

  .nav-menu {
    display: none;
  }

  .lang-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .lang-link {
    flex: 1;
    text-align: center;
    padding: 8px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .badges {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }

  .badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px;
  }

  /* Video Section */
  .video-section {
    padding: 40px 0;
  }

  .video-container {
    margin: 0 -16px;
  }

  /* Screenshots */
  .screenshots {
    padding: 40px 0;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Features */
  .features {
    padding: 40px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .feature-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .feature-desc {
    font-size: 14px;
  }

  /* Download Section */
  .download {
    padding: 40px 0;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .download-card {
    padding: 24px;
  }

  .download-title {
    font-size: 18px;
  }

  .download-size {
    font-size: 12px;
  }

  /* System Requirements */
  .requirements {
    padding: 40px 0;
  }

  .req-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .req-box {
    padding: 20px;
  }

  .req-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .req-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }

  .req-label {
    font-size: 13px;
  }

  .req-value {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 30px 0;
    margin-top: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-section a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 20px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo {
    font-size: 18px;
  }

  .lang-link {
    font-size: 12px;
    padding: 6px;
  }
}

/* Tablet landscape optimization */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

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

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    padding: 16px 32px;
    font-size: 16px;
  }

  .nav-link,
  .lang-link {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hidden class for language switching */
.hidden {
  display: none;
}
