/* ============================================
   Scanela Landing Page
   Color Scheme: Green (#2E7D32) based
   ============================================ */

:root {
  --green-900: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-500: #4CAF50;
  --green-100: #C8E6C9;
  --green-50: #E8F5E9;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

/* ---- Language Switcher ---- */

.lang-bar {
  background: var(--green-900);
  padding: 8px 0;
  text-align: right;
}

.lang-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.lang-bar a {
  color: var(--green-100);
  text-decoration: none;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.lang-bar a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-bar a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

/* ---- Container ---- */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

nav {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--green-100);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--green-500);
}

nav a.cta-link {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

nav a.cta-link:hover {
  color: var(--green-600);
}

/* ---- Hero ---- */

.hero {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--green-700);
}

.hero .tagline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual {
  margin-top: 48px;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--gray-900);
  border-radius: 36px;
  margin: 0 auto;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 14px;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Store Badges ---- */

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.store-badge .badge-icon {
  font-size: 28px;
}

.store-badge .badge-text {
  text-align: left;
  line-height: 1.2;
}

.store-badge .badge-text small {
  font-size: 11px;
  opacity: 0.8;
}

.store-badge .badge-text strong {
  font-size: 16px;
  display: block;
}

/* ---- Features ---- */

.features {
  padding: 80px 0;
  background: var(--white);
}

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

.features .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.features .section-title p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--green-100);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(46, 125, 50, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--green-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- How It Works ---- */

.how-it-works {
  padding: 80px 0;
  background: var(--green-50);
}

.how-it-works .section-title {
  text-align: center;
  margin-bottom: 56px;
}

.how-it-works .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.steps {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.step p {
  font-size: 14px;
  color: var(--gray-600);
}

/* ---- CTA Section ---- */

.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  color: var(--white);
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Footer ---- */

footer {
  background: var(--gray-900);
  color: var(--gray-600);
  padding: 40px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .footer-brand {
  font-size: 14px;
}

footer .footer-brand .logo-text {
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

footer .footer-links {
  display: flex;
  gap: 24px;
}

footer .footer-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 40px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
    border-radius: 28px;
  }

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

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

  footer .container {
    flex-direction: column;
    text-align: center;
  }

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