:root {
  --bg: #0b1220;
  --panel: #121a2b;
  --ink: #f6f7fb;
  --muted: #9aa4c4;
  --accent: #2dd4ff;
  --accent-2: #ffb347;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Nunito", "Arial", sans-serif;
  background: radial-gradient(circle at top, #14203b 0%, #0b1220 55%, #060b15 100%);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
header { background: rgba(6, 11, 21, 0.9); position: sticky; top: 0; z-index: 20; }
.header-wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo img { height: 40px; }
.nav { display: flex; gap: 18px; font-weight: 700; letter-spacing: 0.3px; }
.nav a { color: var(--muted); }
.btn {
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #021018; box-shadow: 0 10px 24px rgba(45, 212, 255, 0.35); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.2); color: var(--ink); background: transparent; }
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px; }
.hero-title { font-family: "Bebas Neue", sans-serif; font-size: clamp(2.8rem, 2vw + 2rem, 4.2rem); margin: 0; }
.hero-card {
  background: var(--panel);
  padding: 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.tag { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(45, 212, 255, 0.15); color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card {
  background: var(--panel);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.6);
  border-color: var(--accent);
}
.card:hover::before {
  opacity: 1;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.card:hover img {
  transform: scale(1.05);
}
.card h3, .card h4 {
  margin: 0 0 12px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.card p {
  color: var(--muted);
  line-height: 1.7;
  flex-grow: 1;
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.card .btn {
  margin-top: auto;
  text-align: center;
  width: 100%;
}
.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  align-items: center;
}
.card-tag {
  background: linear-gradient(135deg, rgba(45, 212, 255, 0.2), rgba(255, 179, 71, 0.2));
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(45, 212, 255, 0.3);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.app-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.app-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.6);
  border-color: var(--accent);
}
.app-card:hover::before {
  opacity: 1;
}
.app-card-link {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.app-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(45, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}
.app-card:hover .app-card-icon img {
  transform: scale(1.1);
}
.app-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.app-card-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card-desc {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}
.app-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-2);
}
.app-card-rating svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.app-card-rating span {
  color: var(--ink);
  font-weight: 600;
}
.app-card-size {
  color: var(--muted);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.75rem;
}
.no-apps {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-size: 1rem;
}
.card-grid li, .grid li {
  list-style: none;
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-grid li:hover, .grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  border-color: var(--accent);
}
.card-grid li a, .grid li a {
  display: flex;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.card-grid li em, .grid li em {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  font-style: normal;
}
.card-grid li em img, .grid li em img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card-grid li:hover em img, .grid li:hover em img {
  transform: scale(1.08);
}
.article-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-text p {
  margin: 0;
  font-size: 1rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-date {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.8;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero-card {
  background: var(--panel);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.hero-card h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}
.sidebar {
  background: var(--panel);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.sidebar h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}
.sidebar h4 {
  margin: 16px 0 10px;
  font-size: 1rem;
  font-family: "Bebas Neue", sans-serif;
}
.sidebar p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.sidebar .btn {
  width: 100%;
}
.sidebar hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.article-content {
  background: var(--panel);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  line-height: 1.8;
  color: var(--ink);
}
.article-content h2 {
  margin: 28px 0 16px;
  font-size: 1.4rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}
.article-content h3 {
  margin: 24px 0 12px;
  font-size: 1.2rem;
  font-family: "Bebas Neue", sans-serif;
}
.article-content p {
  margin: 0 0 16px;
  line-height: 1.8;
}
.article-content ul, .article-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
}
.article-content a:hover {
  opacity: 0.8;
}
.article-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.article-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.article-content pre {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 16px 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.article-content th, .article-content td {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.article-content th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}
.section { padding: 50px 0; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { padding: 12px 16px; background: rgba(255, 255, 255, 0.06); border-radius: 12px; color: var(--muted); }
.footer { background: #050914; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.article { background: var(--panel); padding: 26px; border-radius: 18px; box-shadow: var(--shadow); }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--accent);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  transition: all 0.2s ease;
}
.pagination a:hover {
  background: var(--accent);
  color: #021018;
}
.pagination .active {
  background: var(--accent);
  color: #021018;
}
/* Enhanced Homepage Styles */
.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.hero-features span {
  background: rgba(0, 255, 200, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-card-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), #00b894);
  color: #021018;
  padding: 6px 16px;
  border-radius: 0 0 12px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero-card {
  position: relative;
}
.hero-card-value {
  font-size: 1.4rem;
  color: var(--accent);
  margin: 12px 0;
}
.hero-card-value strong {
  font-size: 2rem;
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-stats .stat strong {
  font-size: 1.3rem;
  color: var(--accent);
}
.hero-stats .stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.card-tag {
  background: rgba(0, 255, 200, 0.15);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 12px;
}
.section-dark {
  background: linear-gradient(180deg, #0a1628 0%, #0d1f35 100%);
  margin: 40px 0;
  border-radius: 32px;
  border: 1px solid rgba(0, 255, 200, 0.1);
}
.section-dark h2 {
  color: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 200, 0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  background: rgba(0, 255, 200, 0.05);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #fff;
}
.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.highlight-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #00b894 100%);
  color: #021018;
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.highlight-gradient h2 {
  color: #021018;
  margin: 12px 0 16px;
}
.highlight-gradient p {
  color: rgba(2, 16, 24, 0.8);
  font-size: 1.1rem;
}
.highlight-gradient .list li {
  background: rgba(2, 16, 24, 0.1);
  color: #021018;
}
.highlight-gradient .btn-primary {
  background: #021018;
  color: var(--accent);
}
.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, 0.1);
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: #fff;
}
.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.5rem;
  color: var(--accent);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header-wrap { flex-wrap: wrap; gap: 12px; }
  .hero-features { flex-direction: column; gap: 10px; }
  .highlight-gradient { padding: 32px 24px; }
  .features-grid { grid-template-columns: 1fr; }
}
