:root {
  --primary-color: #4361ee;
  --secondary-color: #3a0ca3;
  --accent-color: #7209b7;
  --text-color: #333;
  --light-text: #fff;
  --bg-color: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  --gradient-secondary: linear-gradient(135deg, #7209b7 0%, #560bad 100%);
  --shadow: 0 4px 20px rgba(67, 97, 238, 0.15);
}

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

body {
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

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

/* Header */
header {
  background: var(--gradient-primary);
  color: var(--light-text);
  padding: 20px 0;
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: var(--light-text);
  margin-right: 32px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Custom Language Selector */
.custom-language-selector {
  position: relative;
  min-width: 120px;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
}
.selected-language {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 8px 32px 8px 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border 0.2s;
}
.selected-language::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #fff;
  pointer-events: none;
}
.language-options {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  background: #fff;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(67,97,238,0.12);
  min-width: 140px;
  z-index: 100;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.language-options li {
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}
.language-options li:hover, .language-options li.active {
  background: var(--primary-color);
  color: #fff;
}
.custom-language-selector.open .language-options {
  display: block;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--light-text);
  padding: 100px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/pattern.svg');
  opacity: 0.1;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 50%;
  flex: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button.primary {
  background: var(--light-text);
  color: var(--primary-color);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image {
  flex: 0 0 45%;
  max-width: 45vw;  
  margin-top: 40px;
} 

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-title p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Screenshots */
.screenshots {
  padding: 80px 0;
  background: #f2f6ff;
}

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

.screenshot-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.03);
}

.screenshot-item::after {
  content: '🔍';
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-item:hover::after {
  opacity: 1;
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th {
  background: var(--gradient-primary);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.pricing-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table .feature-available {
  color: var(--primary-color);
  font-weight: 600;
}

.pricing-table .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* CTA */
.cta {
  background: var(--gradient-secondary);
  color: var(--light-text);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: #2a2d43;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

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

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .nav-menu {
    justify-content: center;
    gap: 18px;
  }
  .header-actions {
    justify-content: center;
    gap: 12px;
  }
  .language-selector {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .language-selector select {
    min-width: 100px;
    font-size: 13px;
    padding: 6px 25px 6px 10px;
  }
  
  .language-selector::after {
    right: 10px;
    font-size: 9px;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-table {
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
}

/* Modal Image Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  padding-right: 20px;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-banner button {
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-banner button:hover {
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px;
  }
  
  .cookie-banner p {
    margin-bottom: 15px;
    padding-right: 0;
  }
}

/* Globe Button */
.globe-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  padding: 7px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-btn:hover, .globe-btn:focus {
  background: rgba(255,255,255,0.18);
  border-color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(67,97,238,0.12);
  outline: none;
}

/* Language Overlay */
.language-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 32, 54, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.language-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(67,97,238,0.18);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  text-align: center;
  position: relative;
}
.language-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--primary-color);
  font-weight: 700;
}
.language-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.language-list button {
  background: #f2f6ff;
  color: #222;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.language-list button:hover, .language-list button:focus {
  background: var(--primary-color);
  color: #fff;
  outline: none;
}
.close-overlay {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.close-overlay:hover, .close-overlay:focus {
  color: var(--primary-color);
  outline: none;
}
@media (max-width: 500px) {
  .language-modal {
    min-width: 0;
    width: 95vw;
    padding: 18px 6vw 18px 6vw;
  }
  .language-list button {
    font-size: 0.98rem;
    padding: 9px 0;
  }
} 