:root {
  --primary-color: #38e07b;
  --background: #122017;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 100;
}

.nav-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem;
  height: calc(100vh - 200px);
  overflow: hidden;
}

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

.hero-text {
  max-width: 500px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  min-width: 180px;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-small {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1;
}

.btn-large {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

/* Phone Mockups */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.screenshots-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.app-screenshot {
  width: 280px;
  height: auto;
  transition: transform 0.3s ease;
}

.app-screenshot:first-child {
  width: 280px;
}

.app-screenshot:last-child {
  width: 240px;
  margin-top: 2rem;
}

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


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

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

.footer-text p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Support Dropdown */
.support-dropdown {
  position: relative;
}

.support-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 1000;
  margin-bottom: 0.5rem;
}

.support-dropdown.active .support-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-menu-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-family: inherit;
}

.support-menu-item:hover {
  background: var(--card-bg);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding: 1rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .download-buttons {
    justify-content: center;
  }


  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    gap: 1rem;
  }

  .support-menu {
    right: 50%;
    transform: translateX(50%) translateY(10px);
  }

  .support-dropdown.active .support-menu {
    transform: translateX(50%) translateY(0);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .download-btn {
    min-width: 160px;
    padding: 0.75rem 1.25rem;
  }

  .screenshots-container {
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
  }

  .app-screenshot {
    width: 240px;
  }

}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.last-updated {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-style: italic;
}

.legal-content section {
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}