/**
 * Choicer Landing Page Styles
 * Palette "Azione Rapida" - Decisioni immediate e consapevoli
 */

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

:root {
  /* Palette Azione Rapida */
  --primary: #2563EB;
  --primary-light: #3B82F6;
  --accent: #FF8A3D;
  --accent-light: #FFB84D;
  --dark: #111827;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --bg-light: #F9FAFB;
  --bg-dark: #1F2937;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

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

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

.nav-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-brand {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray);
  font-weight: 600;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.nav-cta {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--dark);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 138, 61, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F9FAFB 0%, #EEF2FF 50%, #F9FAFB 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
  border-radius: 50%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(37, 99, 235, 0.2));
}

.hero-logo-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.15rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(255, 138, 61, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 138, 61, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 3px solid var(--primary);
  box-shadow: none;
}

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

/* Sections */
.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
}

.section-dark * {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-dark .section-tag {
  background: rgba(255, 138, 61, 0.2);
  color: var(--accent);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-description {
  color: var(--gray-light);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.step-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.1);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.step-description {
  color: var(--gray);
  line-height: 1.7;
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.screenshot-item {
  text-align: center;
}

.screenshot-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

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

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--white);
}

.screenshot-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.screenshot-desc {
  color: var(--gray-light);
}

/* Mission */
.mission-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.mission-quote {
  position: relative;
  padding: 2rem;
  margin-bottom: 3rem;
}

.quote-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.3;
}

.mission-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--dark);
  padding-left: 3rem;
}

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

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.value-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Author */
.author-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 32px;
  align-items: center;
}

.author-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--accent);
  box-shadow: 0 12px 32px rgba(255, 138, 61, 0.3);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--white);
}

.author-name {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.author-role {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.author-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 2rem;
}

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

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Contact */
.contact-cta {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--gray);
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
}

.footer-tagline {
  color: var(--gray-light);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1rem;
}

.footer-column a {
  display: block;
  color: var(--gray-light);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.footer-bottom {
  text-align: center;
}

.footer-copyright {
  color: var(--gray-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-quote {
  color: var(--gray);
  font-style: italic;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .author-card {
    grid-template-columns: 200px 1fr;
  }

  .author-photo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 73px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .author-photo {
    width: 180px;
    height: 180px;
  }

  .author-links {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

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

  .stat-number {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .mission-text {
    font-size: 1.1rem;
    padding-left: 0;
  }

  .author-bio {
    font-size: 1rem;
  }
}
