/* === THEME (Red / Black / White) ====================== */
:root{
  --bg: #0a0a0a;
  --text: #e8e8e8;
  --muted: #cfcfcf;
  --panel: #1a1a1a;
  --panel-2: #222222;
  --border: #333333;

  /* Soft, nieostry czerwony (możesz delikatnie korygować) */
  --red-900:#5e0f14;
  --red-800:#6f151a;
  --red-700:#841b21;
  --red-600:#9b232a;
  --red-500:#b83138;
  --red-400:#cf4a51;
  --red-300:#e46e74;

  --white:#ffffff;
  --shadow-red: rgba(200, 50, 60, 0.35);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { 
  background: linear-gradient(135deg, var(--red-800), var(--red-700), var(--red-600)); 
  color: var(--white); 
  padding: 1rem 0; 
  position: sticky; top: 0; z-index: 100; 
  box-shadow: 0 2px 10px var(--shadow-red); 
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.2rem; font-weight: bold; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
.logo::before { content: "🇲🇦"; font-size: 1.5rem; }
.logo a{
color:white;
}

/* CTA */
.header-cta { 
  background: var(--red-500); color: var(--white); 
  padding: 0.8rem 2rem; border: none; border-radius: 25px; font-weight: bold; text-decoration: none; 
  transition: all 0.3s; box-shadow: 0 4px 15px var(--shadow-red); 
}
.header-cta:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 6px 20px var(--shadow-red); }

/* Navigation */
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-item { position: relative; }
.nav-link { color: var(--white); text-decoration: none; padding: 0.5rem 1rem; border-radius: 5px; transition: all 0.3s; font-weight: 500; }
.nav-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.5rem; }
.dropdown-toggle::after { content: '▼'; font-size: 0.8rem; transition: transform 0.3s; }
.dropdown.active .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu { 
  position: absolute; top: 100%; left: 0; 
  background: linear-gradient(135deg, var(--panel), var(--panel-2)); 
  border: 2px solid var(--red-600); border-radius: 10px; min-width: 280px; 
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); z-index: 1000;
}
.dropdown.active .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-item { 
  display: block; padding: 0.8rem 1.2rem; 
  color: var(--muted); text-decoration: none; transition: all 0.3s; 
  border-bottom: 1px solid var(--border);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: rgba(200,60,70,0.1); color: var(--white); transform: translateX(5px); }

.dropdown-section { 
  padding: 0.5rem 1.2rem; font-size: 0.9rem; font-weight: bold; 
  color: var(--red-300); background: rgba(200,60,70,0.08); border-bottom: 1px solid var(--border);
}

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-nav { 
    display: block; position: absolute; top: 100%; left: 0; right: 0; 
    background: linear-gradient(135deg, var(--panel), var(--panel-2)); 
    border-top: 2px solid var(--red-600); max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .mobile-nav.active { max-height: 500px; }
  .mobile-nav .nav-link { display: block; padding: 1rem 2rem; border-bottom: 1px solid var(--border); color: var(--muted); }
  .mobile-nav .nav-link:hover { background: rgba(200,60,70,0.1); }
}

/* Language Switcher */
.language-switcher { position: relative; margin-left: 1rem; display: none; }
.language-btn { 
  background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid var(--red-600); 
  padding: 0.5rem 1rem; border-radius: 20px; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; 
  font-size: 0.9rem; transition: all 0.3s;
}
.language-btn:hover { background: rgba(200,60,70,0.18); }
.language-btn::after { content: "\25BC"; font-size: 0.7rem; transition: transform 0.3s; }
.language-switcher.active .language-btn::after { transform: rotate(180deg); }

#current-lang-flag{ display:none; }

.language-menu { 
  position: absolute; top: 100%; right: 0; 
  background: linear-gradient(135deg, var(--panel), var(--panel-2)); 
  border: 2px solid var(--red-600); border-radius: 10px; min-width: 120px; 
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); z-index: 1000; margin-top: 0.5rem;
}
.language-switcher.active .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.language-item { 
  display: block; padding: 0.8rem 1rem; color: var(--muted); text-decoration: none; transition: all 0.3s; 
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem;
}
.language-item:last-child { border-bottom: none; }
.language-item:hover { background: rgba(200,60,70,0.1); color: var(--white); }
.language-item.active { background: rgba(200,60,70,0.12); color: var(--red-300); }

@media (max-width: 768px) {
  .language-switcher { margin-left: 0; margin-right: 1rem; }
  .header-content { flex-wrap: wrap; }
  .language-switcher { order: 3; margin-top: 1rem; }
}

/* Hero */
.hero { 
  background: 
    linear-gradient(135deg, rgba(130,27,33,0.92), rgba(155,35,42,0.92), rgba(184,49,56,0.92)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pat" patternUnits="userSpaceOnUse" width="120" height="120"><circle cx="60" cy="60" r="25" fill="%23ffffff" opacity="0.06"/><polygon points="60,20 80,70 40,70" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="1200" height="600" fill="url(%23pat)"/><path d="M100,300 Q300,100 500,300 T900,300" stroke="%23ffffff" stroke-width="3" fill="none" opacity="0.08"/></svg>');
  background-size: cover; color: var(--white); padding: 6rem 0; text-align: center; position: relative; overflow: hidden; 
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { 
  font-size: 4rem; margin-bottom: 1rem; 
  background: linear-gradient(45deg, #ffffff, #f5d9dc); 
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.45); 
  animation: glow 2s ease-in-out infinite alternate;
}
.hero .subtitle { font-size: 1.5rem; margin-bottom: 2rem; color: #ffffff; opacity: 0.85; }
.hero .description { font-size: 1.2rem; margin-bottom: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }

.main-cta { 
  background: linear-gradient(45deg, var(--red-500), var(--red-300)); color: var(--white);
  padding: 1.2rem 3rem; border: none; border-radius: 50px; font-size: 1.2rem; font-weight: bold; text-decoration: none; 
  transition: all 0.3s; box-shadow: 0 8px 25px var(--shadow-red); animation: pulse 2s infinite; position: relative; overflow: hidden;
}
.main-cta::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); transition: left 0.5s;
}
.main-cta:hover::before { left: 100%; }
.main-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 35px var(--shadow-red); }

.secondary-cta { 
  background: transparent; color: var(--white); border: 2px solid var(--white); 
  padding: 1rem 2rem; border-radius: 50px; text-decoration: none; transition: all 0.3s; 
}
.secondary-cta:hover { background: var(--white); color: var(--bg); }

@keyframes glow { 
  0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.45), 0 0 10px rgba(255,255,255,0.18); } 
  100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.45), 0 0 18px rgba(255,255,255,0.34); } 
}
@keyframes pulse { 
  0%, 100% { box-shadow: 0 8px 25px var(--shadow-red); } 
  50% { box-shadow: 0 8px 25px rgba(200,50,60,0.6); } 
}

/* Morocco accents (zostawiam animację, kolor biały) */
.morocco-accent { display: inline-block; margin: 0 1rem; font-size: 2rem; animation: float 3s ease-in-out infinite; color: var(--white); opacity: 0.9; }
.morocco-accent:nth-child(2) { animation-delay: 1s; }
.morocco-accent:nth-child(3) { animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

/* Answer First */
.answer-first { 
  background: linear-gradient(135deg, #1c1213, #1a0f10); color: var(--white); 
  padding: 3rem; margin: 3rem 0; border-radius: 20px; border: 2px solid var(--red-600); position: relative; 
}
.answer-first::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(45deg, var(--red-400), var(--red-600), var(--white)); }
.answer-first h2 { color: var(--white); margin-bottom: 1rem; font-size: 2.2rem; text-align: center; }
.answer-first .highlight { background: rgba(200,60,70,0.12); padding: 2rem; border-radius: 15px; margin: 1.5rem 0; border-left: 4px solid var(--red-600); }
.answer-first .highlight strong { color: var(--white); }

/* Features */
.features-section { background: linear-gradient(135deg, var(--panel-2), var(--panel)); padding: 4rem 0; margin: 3rem 0; border-radius: 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; padding: 0 2rem; }
.feature-card { 
  background: linear-gradient(135deg, var(--panel), var(--panel-2)); 
  border-radius: 20px; padding: 2.5rem; text-align: center; border: 2px solid var(--border); 
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(45deg, var(--red-500), var(--red-300)); }
.feature-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px var(--shadow-red); border-color: var(--red-600); }
.feature-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.feature-card h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.5rem; }
.feature-card p { color: var(--muted); line-height: 1.7; font-size: 1.1rem; }

/* Morocco Benefits */
.morocco-benefits { 
  background: linear-gradient(135deg, var(--red-800), var(--red-600)); color: var(--white); 
  padding: 4rem 2rem; margin: 4rem 0; border-radius: 20px; text-align: center; 
}
.morocco-benefits h2 { font-size: 2.5rem; margin-bottom: 2rem; color: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin: 3rem 0; }
.benefit-item { background: rgba(255,255,255,0.08); padding: 2rem; border-radius: 15px; backdrop-filter: blur(10px); }
.benefit-item h3 { color: var(--white); margin-bottom: 1rem; }

/* Stats */
.stats-section { background: var(--panel); padding: 4rem 0; margin: 3rem 0; border-radius: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding: 0 2rem; }
.stat-card { 
  background: linear-gradient(45deg, var(--red-500), var(--red-300)); 
  color: var(--white); padding: 2.5rem; border-radius: 20px; text-align: center; 
  transition: transform 0.3s; box-shadow: 0 10px 30px var(--shadow-red);
}
.stat-card:hover { transform: translateY(-5px) scale(1.05); }
.stat-number { font-size: 2rem; font-weight: bold; margin-bottom: 0.5rem; }
.stat-label { font-size: 1.1rem; font-weight: 600; }

/* Content Sections */
.section { 
  background: linear-gradient(135deg, var(--panel-2), var(--panel)); 
  margin: 3rem 0; padding: 4rem; border-radius: 20px; color: var(--white); border: 1px solid var(--border); 
}
.section h2 { color: var(--white); margin-bottom: 2rem; font-size: 2.5rem; text-align: center; }
.section h3 { color: var(--red-300); margin: 2rem 0 1rem 0; font-size: 1.7rem; }

/* Lists */
.benefits-list { list-style: none; margin: 2rem 0; }
.benefits-list li { 
  margin: 1.5rem 0; padding: 1.5rem; 
  background: rgba(200,60,70,0.10); border-left: 4px solid var(--red-600); 
  border-radius: 10px; position: relative; padding-left: 4rem; transition: all 0.3s;
}
.benefits-list li:hover { background: rgba(200,60,70,0.18); transform: translateX(10px); }
.benefits-list li::before { content: "✓"; position: absolute; left: 1.5rem; color: var(--white); font-weight: bold; font-size: 1.5rem; }

/* CTA Section */
.cta-section { 
  background: linear-gradient(135deg, var(--red-600), var(--red-500), var(--red-300)); 
  color: var(--white); padding: 4rem 2rem; margin: 4rem 0; border-radius: 25px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; 
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23ffffff" stroke-width="2" opacity="0.08"/></svg>') repeat;
  animation: rotate 20s linear infinite;
}
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.cta-section h2 { font-size: 3rem; margin-bottom: 1rem; position: relative; z-index: 2; }
.cta-section p { font-size: 1.4rem; margin-bottom: 2rem; position: relative; z-index: 2; }
.cta-section .main-cta { background: #0a0a0a; color: var(--white); position: relative; z-index: 2; }

/* Warning Box (łagodny czerwony zamiast żółtego) */
.warning-box { 
  background: rgba(200,60,70,0.12); border: 2px solid var(--red-500); border-radius: 15px; 
  padding: 2rem; margin: 2rem 0; color: var(--white); backdrop-filter: blur(10px);
}
.warning-box strong { color: var(--white); }

/* FAQ */
.faq-item { margin: 1.5rem 0; border: 2px solid var(--border); border-radius: 15px; background: var(--panel); overflow: hidden; }
.faq-question { 
  background: var(--panel-2); padding: 2rem; cursor: pointer; font-weight: bold; color: var(--white); 
  transition: all 0.3s; position: relative;
}
.faq-question::after { content: '+'; position: absolute; right: 2rem; font-size: 1.5rem; transition: transform 0.3s; }
.faq-question.active::after { transform: rotate(45deg); }
.faq-answer { padding: 2rem; display: none; color: var(--muted); border-top: 1px solid var(--border); animation: fadeIn 0.3s ease; }
.faq-question:hover { background: #2a2a2a; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Footer */
footer { 
  background: linear-gradient(135deg, var(--red-800), var(--red-700)); 
  color: var(--white); text-align: center; padding: 4rem 0; margin-top: 4rem; 
}

.disclaimer { 
  font-size: 0.95rem; color: #dddddd; margin-top: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; 
  line-height: 1.6; text-align: left;
}
.disclaimer p { margin-bottom: 1rem; padding: 0.5rem 0; }
.disclaimer a { color: var(--white); text-decoration: underline; transition: color 0.3s; }
.disclaimer a:hover { color: #f5d9dc; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .container { padding: 0 15px; }
  .section { padding: 2rem; }
  .feature-card { padding: 2rem; }
}
@media (max-width: 480px) {
  .hero { padding: 4rem 0; }
  .hero h1 { font-size: 2rem; }
  .main-cta { padding: 1rem 2rem; font-size: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.5rem; }
}

/* Animations */
.feature-card { animation: slideInUp 0.6s ease-out; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.6s; }
.feature-card:nth-child(5) { animation-delay: 0.8s; }
.feature-card:nth-child(6) { animation-delay: 1s; }
@keyframes slideInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll Effects */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }

/* CSS Document */
