:root {
  --color-main: #6366f1;
  --color-main-dark: #4f46e5;
  --color-accent: #8b5cf6;
  --color-bg: #0f172a;
  --color-card: #1e293b;
  --color-text: #ffffff;
  --color-muted: #cbd5e1;
  --color-border: #334155;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

header h1 {
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

header a {
  color: var(--color-muted);
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header a:hover {
  color: var(--color-main);
}

.hero {
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.hero p {
  color: var(--color-muted);
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 80px auto;
}

.features h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.feature {
  background: linear-gradient(135deg, var(--color-card) 0%, #1a2332 100%);
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--color-main);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.pricing {
  padding: 80px 0;
  text-align: center;
}

.pricing h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.card {
  width: 280px;
  background: linear-gradient(135deg, var(--color-card) 0%, #1a2332 100%);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card.popular {
  border: 2px solid var(--color-main);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
  position: relative;
}

.card.popular::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.price {
  font-size: 42px;
  margin: 24px 0;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
}

.compatibility {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.compatibility h2 {
  color: #0f172a;
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: 700;
}

.compatibility-subtitle {
  color: #64748b;
  margin-top: 10px;
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.icon-circle {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.app-icon:hover .icon-circle {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  transform: translateY(-5px);
  border-color: var(--color-main);
}

.icon-circle img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.app-icon span {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

#faq {
  padding: 80px 0;
}

#faq h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

#faq p {
  background: var(--color-card);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

#faq p:hover {
  border-color: var(--color-main);
  transform: translateX(8px);
}

#faq strong {
  color: var(--color-main);
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

footer {
  text-align: center;
  padding: 32px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}


/* ========================================
   RESPONSIVE MOBILE
   ======================================== */

@media (max-width: 768px) {
  
  /* Header mobile */
  header .container {
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }

  header h1 {
    font-size: 24px;
  }

  header nav {
    display: flex;
    gap: 8px;
  }

  header a {
    margin-left: 0;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--color-card);
    border-radius: 8px;
  }

  /* Hero mobile */
  .hero {
    padding: 60px 20px;
  }

  .hero h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    max-width: 300px;
  }

  /* Features mobile */
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 40px auto;
  }

  .features h2 {
    font-size: 28px;
  }

  .feature {
    padding: 20px;
    font-size: 16px;
  }

  /* Compatibility section mobile */
  .compatibility {
    padding: 60px 0;
  }

  .compatibility h2 {
    font-size: 26px;
    padding: 0 20px;
  }

  .compatibility-subtitle {
    font-size: 16px;
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  .icon-circle {
    width: 85px;
    height: 85px;
  }

  .icon-circle img {
    width: 60px;
    height: 60px;
  }

  .app-icon span {
    font-size: 11px;
  }

  /* Pricing mobile */
  .pricing {
    padding: 60px 0;
  }

  .pricing h2 {
    font-size: 28px;
    padding: 0 20px;
  }

  .cards {
    gap: 20px;
    margin-top: 30px;
    padding: 0 20px;
  }

  .card {
    width: 100%;
    max-width: 320px;
    padding: 24px;
  }

  .card h3 {
    font-size: 22px;
  }

  .price {
    font-size: 36px;
  }

  .card.popular::before {
    font-size: 11px;
    padding: 3px 12px;
  }

  /* FAQ mobile */
  #faq {
    padding: 60px 0;
  }

  #faq h2 {
    font-size: 28px;
    padding: 0 20px;
  }

  #faq p {
    padding: 18px;
    margin-bottom: 12px;
  }

  #faq strong {
    font-size: 16px;
  }

  #faq p:hover {
    transform: translateX(0);
  }

  /* WhatsApp button mobile */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  /* Footer mobile */
  footer {
    padding: 24px 20px;
    font-size: 14px;
  }

  /* Container mobile */
  .container {
    width: 95%;
  }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
  
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .features h2,
  .pricing h2,
  #faq h2,
  .compatibility h2 {
    font-size: 24px;
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
    padding: 12px;
  }

  .app-icon span {
    font-size: 11px;
  }

  .card {
    padding: 20px;
  }

  .price {
    font-size: 32px;
  }

  header h1 {
    font-size: 20px;
  }

  header a {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  
  .hero {
    padding: 40px 20px;
  }

  .features,
  .pricing,
  .compatibility,
  #faq {
    padding: 40px 0;
  }

  .apps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  
  .container {
    width: 92%;
  }

  .apps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .cards {
    gap: 20px;
  }

  .card {
    width: 240px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
