/* Lumio Landing Page - Purple/Amber Palette */

:root {
  --purple-primary: #7C3AED;
  --amber-primary: #F59E0B;
  --bg-dark: #0F0A1A;
  --text-light: #F5F3FF;
  --card-bg: #1A1230;
  --text-secondary: #A78BFA;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

/* Language toggle: hide inactive language */
html[lang="en"] [lang="it"] {
  display: none !important;
}

html[lang="it"] [lang="en"] {
  display: none !important;
}

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purple-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--purple-primary);
  color: var(--purple-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-family: var(--font-stack);
}

.lang-toggle:hover {
  background-color: var(--purple-primary);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-primary);
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.btn-download {
  display: inline-block;
  background-color: var(--amber-primary);
  color: #1A1230;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.features h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

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

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Screenshots Section */
.screenshots {
  padding: 4rem 0;
  text-align: center;
}

.screenshots h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.screenshots-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.screenshot-placeholder {
  position: relative;
  width: 280px;
  min-height: 480px;
  background: var(--card-bg);
  border: 2px dashed var(--purple-primary);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.screenshot-placeholder::after {
  content: "Screenshot coming soon";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  pointer-events: none;
}

/* Hide placeholder text when image loads */
.screenshot-placeholder.has-image::after {
  display: none;
}

/* Download CTA Section */
.download-cta {
  padding: 4rem 0;
  text-align: center;
}

.download-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-cta .note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1.25rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  margin-top: 2rem;
}

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

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

.footer a:hover {
  text-decoration: underline;
}

/* Responsive: Desktop */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* Responsive: Small screens */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .screenshot-placeholder {
    width: 100%;
    min-height: 400px;
  }
}
