/* Neon Gothic Dark Theme for Telegram Site */
:root {
  --gothic-bg: #090a0f;
  --gothic-panel: #11131c;
  --gothic-card: #171a26;
  --gothic-border: #222738;
  --gothic-border-glow: #00d2ff;
  --neon-blue: #00d2ff;
  --neon-blue-dark: #0088cc;
  --neon-glow: rgba(0, 210, 255, 0.35);
  --neon-violet: #9d4edd;
  --text-main: #f0f4f8;
  --text-muted: #8c9ba8;
  --text-glow: #e0f7ff;
  --max-width: 1180px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--gothic-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--neon-blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  background: rgba(9, 10, 15, 0.94);
  border-bottom: 1px solid var(--gothic-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(0, 210, 255, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-blue-dark) 100%);
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 0 15px var(--neon-glow);
  clip-path: polygon(0% 15%, 15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-blue);
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
  text-shadow: 0 0 6px var(--neon-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-blue-dark) 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  background: #1ae0ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.7);
}

.btn-outline {
  background: rgba(23, 26, 38, 0.8);
  color: var(--text-main);
  border: 1px solid var(--gothic-border);
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 15px var(--neon-glow);
  transform: translateY(-2px);
}

/* Hero Section - Neon Gothic Style */
.hero {
  padding: 65px 0 65px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.12) 0%, rgba(9, 10, 15, 1) 75%);
  text-align: center;
  position: relative;
}

.gothic-badge {
  display: inline-block;
  padding: 4px 18px;
  border-radius: 2px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--neon-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.2);
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: var(--neon-blue);
  text-shadow: 0 0 15px var(--neon-glow);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Gothic Multi-Device Showcase */
.gothic-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.gothic-card {
  background: var(--gothic-card);
  border: 1px solid var(--gothic-border);
  border-radius: 8px;
  padding: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.gothic-card:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 25px var(--neon-glow);
  transform: translateY(-4px);
}

.gothic-card img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.gothic-card-label {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-blue);
  text-shadow: 0 0 6px rgba(0, 210, 255, 0.3);
}

/* Section Common */
.section {
  padding: 75px 0;
  border-bottom: 1px solid var(--gothic-border);
}

.section-panel {
  background-color: var(--gothic-panel);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Features Grid (3x3) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gothic-card);
  border: 1px solid var(--gothic-border);
  border-radius: 8px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px var(--neon-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 18px;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Blog / Tutorial Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--gothic-card);
  border: 1px solid var(--gothic-border);
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px var(--neon-glow);
}

.blog-date {
  font-size: 13px;
  color: var(--neon-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.45;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.more-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.faq-container {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gothic-card);
  border: 1px solid var(--gothic-border);
  border-radius: 6px;
  padding: 22px 26px;
  margin-bottom: 16px;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-question::before {
  content: "Q";
  color: var(--neon-blue);
  font-size: 19px;
  font-weight: 800;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 28px;
}

/* Footer */
.footer {
  background-color: #06070a;
  color: var(--text-muted);
  padding: 65px 0 30px;
  border-top: 1px solid var(--gothic-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 45px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 6px var(--neon-glow);
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  font-size: 13px;
  color: #5c6875;
}

/* Download Page Specifics */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.download-card {
  background: var(--gothic-card);
  border: 1px solid var(--gothic-border);
  border-radius: 8px;
  padding: 34px 24px;
  text-align: center;
}

.download-card-icon {
  width: 66px;
  height: 66px;
  border-radius: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
  font-weight: 700;
  box-shadow: 0 0 15px var(--neon-glow);
}

.download-card h3 {
  font-size: 21px;
  color: #ffffff;
  margin-bottom: 12px;
}

.download-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 42px;
}

.download-web-banner {
  background: var(--gothic-panel);
  border: 1px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
  border-radius: 8px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.download-web-banner h3 {
  font-size: 22px;
  color: var(--neon-blue);
  margin-bottom: 8px;
  text-shadow: 0 0 8px var(--neon-glow);
}

.download-web-banner p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Responsiveness */
@media (max-width: 900px) {
  .features-grid, .download-grid, .gothic-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .download-web-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .features-grid, .blog-grid, .download-grid, .gothic-showcase {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 14px 0;
    gap: 12px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
}
