:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #818cf8;
  --background: #fafafa;
  --text: #27272a;
  --text-secondary: #71717a;
  --card: rgba(255, 255, 255, 0.8);
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  --card-hover: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] {
  --background: #18181b;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --card: rgba(39, 39, 42, 0.8);
  --card-hover: rgba(39, 39, 42, 0.9);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background-color 0.3s;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

[data-theme="dark"] .hero-content {
  background: rgba(24, 24, 27, 0.8);
}

.app-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-preview img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.1));
}

/* Additional decorative elements */
.app-preview::after {
  content: '';
  position: absolute;
  top: -20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.2;
  z-index: -1;
}

.gradient-text {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

/* Buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
}

.primary-button {
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.secondary-button {
  background: transparent;
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--background);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.downloads {
  padding: 6rem 2rem;
}

.download-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
}

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

.download-card {
  padding: 2rem;
  background: var(--background);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.download-button {
  display: block;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s;
}

.download-button:hover {
  transform: translateY(-2px);
}

/* Footer Styles */
.footer {
  background: var(--card);
  padding: 6rem 2rem 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-section.brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.footer-links, .tech-stack {
  list-style: none;
}

.footer-links li, .tech-stack li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.tech-stack li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.tech-icon {
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

.heart {
  display: inline-block;
  color: #e11d48;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-section.brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 4rem 1.5rem 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .gradient-text {
    font-size: 2.2rem;
  }

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

  .hero-cta {
    justify-content: center;
  }
  
  .menu-button {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 1rem;
  }

  .app-preview::before {
    display: none;
  }

  .app-preview::after {
    display: none;
  }
}


.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.theme-toggle:hover {
  background: var(--border);
}

.theme-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  transform: rotate(360deg);
}

[data-theme="dark"] .theme-toggle .theme-icon {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
  
  .theme-icon {
    font-size: 1rem;
  }
}


.app-preview img {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.app-preview {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}