/* ===========================
   Base / Reset
=========================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #0c0709;
  color: #e6dfe1;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: #f43f5e; transition: color 0.25s; }
a:hover { color: #fb7185; }
::selection { background: #e11d4840; color: #fff; }

/* ===========================
   Navigation
=========================== */
.main-nav {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 29, 72, 0.15);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav-inner {
  display: flex; align-items: center; justify-content: center;
  max-width: 1100px; margin: 0 auto; gap: 10px;
}
.nav-brand {
  color: #fff; text-decoration: none; font-weight: 800;
  font-size: 1.1em; letter-spacing: 1px; text-transform: uppercase;
  padding: 12px 15px 12px 0; white-space: nowrap;
  background: linear-gradient(135deg, #fb7185, #e11d48, #be123c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  flex-shrink: 0;
}
.nav-brand:hover { opacity: 0.85; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 2px;
}
.main-nav a {
  display: block; padding: 14px 18px; color: #999;
  text-decoration: none; font-size: 0.9em; font-weight: 500;
  letter-spacing: 0.3px; text-transform: uppercase;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: #e11d48; border-bottom: 2px solid #e11d48;
}

/* ===========================
   Header / Hero
=========================== */
header {
  text-align: center; padding: 40px 20px 35px;
  background: linear-gradient(170deg, #0c0709 0%, #1a0a10 40%, #0c0709 100%);
  position: relative; overflow: hidden;
}
header::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 80%, rgba(225, 29, 72, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-banner {
  max-width: 420px; margin: 0 auto 20px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(225, 29, 72, 0.08);
}
.hero-banner img { width: 100%; height: auto; display: block; }
header h1 {
  font-size: 3em; color: #fff; margin: 0 0 15px; font-weight: 800;
  letter-spacing: -0.5px; text-shadow: 0 0 40px rgba(225, 29, 72, 0.3); position: relative;
}
header p {
  font-size: 1.2em; color: #b8b0b2; margin: 0 0 10px;
  max-width: 600px; margin-left: auto; margin-right: auto; position: relative;
}

/* ===========================
   CTA Button
=========================== */
.btn {
  display: inline-block; padding: 16px 36px; margin: 20px auto;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  color: #fff; border-radius: 50px; text-decoration: none;
  font-weight: 700; font-size: 1em; text-align: center;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.35);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg); transition: left 0.6s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(225, 29, 72, 0.5); color: #fff; }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(0); }

/* ===========================
   Sections
=========================== */
.section { padding: 60px 20px; max-width: 1000px; margin: auto; position: relative; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.section h2 {
  color: #fff; margin-bottom: 25px; text-align: center;
  font-size: 1.8em; font-weight: 700; position: relative; padding-bottom: 15px;
}
.section h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, transparent, #e11d48, transparent); border-radius: 2px;
}
.section p { line-height: 1.7; text-align: center; color: #c4bcbe; }

/* ===========================
   Screenshots
=========================== */
.screenshots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px; justify-items: center;
}
.screenshots img {
  width: 100%; border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.screenshots img:hover { transform: scale(1.05) translateY(-4px); box-shadow: 0 12px 35px rgba(225, 29, 72, 0.2); }

/* ===========================
   FAQ
=========================== */
.faq { margin-top: 20px; }
.faq details {
  background: linear-gradient(135deg, #16101300 0%, #1a1216 100%);
  background: #181114;
  padding: 18px 20px; margin-bottom: 10px; border-radius: 10px;
  cursor: pointer; transition: background 0.3s, border-color 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.faq details:hover { border-color: rgba(225, 29, 72, 0.2); }
.faq details[open] { background: #1e1418; border-color: rgba(225, 29, 72, 0.15); }
.faq summary {
  font-weight: 600; font-size: 1.05em; outline: none; color: #ece6e8;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: #e11d48; font-size: 1.3em; font-weight: 300;
  transition: transform 0.3s; flex-shrink: 0; margin-left: 15px;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; color: #b8b0b2; line-height: 1.7; }

/* ===========================
   Blog / News
=========================== */
.blog { margin-top: 40px; }
.blog article {
  background: #16101300; background: #150f12;
  padding: 25px; margin-bottom: 15px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05); transition: border-color 0.3s, transform 0.3s;
}
.blog article:hover { border-color: rgba(225, 29, 72, 0.25); transform: translateY(-2px); }
.blog h3 { color: #e11d48; margin-bottom: 10px; font-weight: 600; }
.blog h3 a { text-decoration: none; }
.blog h3 a:hover { text-decoration: underline; }

/* ===========================
   Features Grid
=========================== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 30px;
}
.feature-card {
  background: #150f12; padding: 30px 25px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #e11d48, transparent);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover { border-color: rgba(225, 29, 72, 0.3); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(225, 29, 72, 0.1); }
.feature-card:hover::before { opacity: 1; }
.feature-card h3 { color: #e11d48; margin: 0 0 12px 0; font-size: 1.15em; font-weight: 600; }
.feature-card p { text-align: left; margin: 0; color: #a89ea1; line-height: 1.6; font-size: 0.95em; }

/* ===========================
   Follow Us
=========================== */
section.follow-us { max-width: 800px; margin: 0 auto; text-align: center; padding: 50px 20px; }
section.follow-us h2 { color: #fff; margin-bottom: 25px; font-size: 1.8em; }
section.follow-us .social-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
section.follow-us .social-links a {
  color: #ccc; text-decoration: none; font-weight: 600; padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50px;
  transition: all 0.3s; font-size: 0.95em;
}
section.follow-us .social-links a:hover { color: #e11d48; border-color: #e11d48; background: rgba(225, 29, 72, 0.08); text-decoration: none; }

/* ===========================
   Steps / Tips lists
=========================== */
.steps-list { counter-reset: step; list-style: none; padding: 0; max-width: 700px; margin: 25px auto; }
.steps-list li {
  counter-increment: step; background: #150f12;
  padding: 18px 18px 18px 60px; margin-bottom: 12px; border-radius: 10px;
  position: relative; line-height: 1.6; border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s;
}
.steps-list li:hover { border-color: rgba(225, 29, 72, 0.15); }
.steps-list li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  background: linear-gradient(135deg, #e11d48, #be123c); color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85em; box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3);
}
.section ul.tips-list { list-style: none; padding: 0; max-width: 700px; margin: 25px auto; }
.section ul.tips-list li {
  background: #150f12; padding: 16px 20px; margin-bottom: 10px; border-radius: 10px;
  line-height: 1.6; border-left: 3px solid #e11d48; transition: background 0.3s;
}
.section ul.tips-list li:hover { background: #1a1216; }
.section ul.tips-list li strong { color: #e11d48; }

/* ===========================
   Internal links block
=========================== */
.internal-links-block {
  border: 1px solid rgba(225, 29, 72, 0.12) !important;
  background: #150f12 !important;
}

/* ===========================
   Language Switcher
=========================== */
nav.lang { text-align: center; margin: 30px 0; padding: 15px; }
nav.lang a { margin: 0 8px; color: #666; text-decoration: none; font-size: 0.9em; transition: color 0.3s; }
nav.lang a:hover { color: #e11d48; }

/* ===========================
   Footer
=========================== */
footer {
  text-align: center; padding: 30px 20px;
  background: linear-gradient(180deg, #0c0709 0%, #000 100%);
  font-size: 0.9em; border-top: 1px solid rgba(255, 255, 255, 0.04);
}
footer p { margin: 5px 0; color: #666; }
footer a { text-decoration: none; color: #888; transition: color 0.3s; }
footer a:hover { color: #e11d48; }

/* ===========================
   Breadcrumb / Scrollbar / Animations
=========================== */
nav[aria-label="Breadcrumb"] a { color: #e11d48; text-decoration: none; }
nav[aria-label="Breadcrumb"] a:hover { text-decoration: underline; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0c0709; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e11d48; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
header h1 { animation: fadeInUp 0.6s ease-out; }
header p { animation: fadeInUp 0.6s ease-out 0.1s both; }
header .btn { animation: fadeInUp 0.6s ease-out 0.2s both; }

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  header { padding: 30px 15px 25px; }
  header h1 { font-size: 2.2em; }
  .btn { padding: 14px 28px; font-size: 0.95em; }
  .section { padding: 40px 15px; }
  .section h2 { font-size: 1.5em; }
  .main-nav a { padding: 10px 12px; font-size: 0.8em; }
  .main-nav-inner { flex-wrap: wrap; justify-content: center; }
  .nav-brand { width: 100%; text-align: center; padding: 10px 0 2px; font-size: 1em; }
  .hero-banner { max-width: 320px; }
}
@media (max-width: 480px) {
  header { padding: 25px 15px 20px; }
  header h1 { font-size: 1.7em; }
  .btn { width: 100%; max-width: 300px; display: block; margin: 15px auto; padding: 14px; }
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 8px 10px; font-size: 0.75em; }
  .section h2 { font-size: 1.3em; }
  .features-grid { grid-template-columns: 1fr; }
  section.follow-us { padding: 30px 15px; }
  section.follow-us h2 { font-size: 1.4em; }
  section.follow-us .social-links { gap: 8px; }
  section.follow-us .social-links a { padding: 8px 16px; font-size: 0.85em; }
}
