/* ==========================================================================
   Base Styles
   ========================================================================== */
:root {
  --primary: #00f0ff;
  --primary-dark: #0066ff;
  --primary-light: #7df9ff;
  --secondary: #ff00aa;
  --secondary-dark: #cc0088;
  --accent: #00ff88;
  --accent-dark: #00cc6a;
  --dark: #0a0a14;
  --darker: #05050a;
  --dark-light: #1a1a24;
  --light: #e0e0ff;
  --light-dark: #b0b0cc;
  --gray: #8a8a9e;
  --gray-dark: #5a5a6e;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), #ff6600);
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--darker));
  
  --neon-glow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
  --neon-glow-secondary: 0 0 10px var(--secondary), 0 0 20px var(--secondary), 0 0 30px var(--secondary);
  
  --glass-effect: rgba(20, 20, 40, 0.8);
  --glass-effect-light: rgba(255, 255, 255, 0.1);
  
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.3);
  --box-shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.6);
  --box-shadow-inset: inset 0 2px 10px rgba(0, 0, 0, 0.2);
  
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s ease;
  
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;
  
  --max-width: 1400px;
  --container-padding: 0 5%;
}

@media (max-width: 1200px) {
  :root {
    --section-padding: 80px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --section-padding-sm: 40px 0;
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding: 50px 0;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Kanit', 'Montserrat', sans-serif;
  background-color: var(--darker);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: var(--dark);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-sm {
  padding: var(--section-padding-sm);
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
}

.preloader-inner {
  text-align: center;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
}

.preloader-logo {
  margin-bottom: 2rem;
  animation: pulse 2s infinite alternate;
}

.preloader-logo img {
  height: 80px;
  margin: 0 auto;
  filter: drop-shadow(var(--neon-glow));
}

.preloader-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.preloader-status {
  color: var(--gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow-sm);
}

.btn i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.btn-primary {
  background: var(--gradient);
  color: var(--dark);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 240, 255, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: var(--transition-slow);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(0, 240, 255, 0.1);
  color: var(--light);
  border: 1px solid rgba(0, 240, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 240, 255, 0.3);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-login {
  background: rgba(255, 0, 170, 0.1);
  color: var(--light);
  border: 1px solid rgba(255, 0, 170, 0.3);
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
}

.btn-login:hover {
  background: rgba(255, 0, 170, 0.2);
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-project {
  background: var(--dark-light);
  color: var(--light);
  width: 100%;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  border-radius: var(--border-radius-sm);
}

.btn-project:hover {
  background: var(--primary);
  color: var(--dark);
}

.btn-news {
  background: transparent;
  color: var(--primary);
  padding: 0;
  font-size: 0.9rem;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}

.btn-news:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.btn-news i {
  margin-right: 0;
  margin-left: 0.5rem;
  transition: var(--transition-fast);
}

.btn-more {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--gray);
  padding: 0.8rem 2rem;
}

.btn-more:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-download {
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  text-align: left;
  min-width: 220px;
}

.btn-download i {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.btn-download small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.3rem;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 1rem;
  margin-left: 0.5rem;
}

.badge.pulse {
  animation: pulse 1.5s infinite alternate;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.divider-line {
  width: 80px;
  height: 2px;
  background: var(--gradient);
  opacity: 0.5;
}

.divider-icon {
  margin: 0 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Cards */
.project-card {
  background: var(--dark-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--box-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.project-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.meta-item i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.feature-card {
  background: var(--dark-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow-sm);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--dark);
  box-shadow: var(--neon-glow);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.feature-description {
  color: var(--gray);
  font-size: 0.95rem;
}

.news-card {
  background: var(--dark-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--box-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--dark);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
  line-height: 1.2;
}

.date-day {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.date-month {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.meta-category {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-comments {
  color: var(--gray);
}

.meta-comments i {
  margin-right: 0.3rem;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.news-excerpt {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial {
  background: var(--dark-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow-sm);
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--light);
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -1.5rem;
  left: -1rem;
}

.testimonial-text::after {
  bottom: -3rem;
  right: -1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid var(--primary);
}

.author-info {
  line-height: 1.4;
}

.author-name {
  font-weight: 700;
  color: var(--light);
}

.author-role {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Forms */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--light);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light);
}

.newsletter-form .form-group {
  display: flex;
}

.newsletter-form input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.newsletter-form button {
  background: var(--gradient);
  color: var(--dark);
  padding: 0 1.5rem;
  border-top-right-radius: var(--border-radius-sm);
  border-bottom-right-radius: var(--border-radius-sm);
  font-weight: 700;
  transition: var(--transition);
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Modules
   ========================================================================== */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass-effect);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--box-shadow-sm);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  margin-right: 1rem;
  transition: var(--transition);
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--light);
}

.logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-sm);
  color: var(--light);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: var(--transition-slow);
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.nav-link.active {
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
}

.nav-link.active::before {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--light);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 170, 0.05) 0%, transparent 25%);
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-title {
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.title-main {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.character {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(30px);
  z-index: 1;
  animation: pulse 3s ease-in-out infinite alternate;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gray);
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.scroll-icon {
  font-size: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.news-more {
  text-align: center;
  margin-top: 3rem;
}

/* Community Section */
.community-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.community-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-circle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-progress {
  position: relative;
  width: 160px;
  height: 160px;
}

.progress-ring circle {
  stroke: var(--primary);
  stroke-dasharray: 452;
  stroke-dashoffset: 452;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1s ease;
}

.circle-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.circle-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light);
}

.circle-label {
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
  max-width: 100px;
}

.community-testimonials {
  flex: 1;
}

.testimonials-slider {
  position: relative;
  min-height: 300px;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-light);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.control-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.controls-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-dark);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.community-social {
  margin-top: 4rem;
  text-align: center;
}

.social-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  background: var(--dark-light);
  color: var(--light);
}

.social-link i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.social-link.vk:hover {
  background: #4a76a8;
  color: white;
}

.social-link.tg:hover {
  background: #0088cc;
  color: white;
}

.social-link.yt:hover {
  background: #ff0000;
  color: white;
}

.social-link.ds:hover {
  background: #5865f2;
  color: white;
}

/* Download Section */
.download {
  background: linear-gradient(to right, var(--dark), var(--darker));
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/img/tech-pattern.png') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.download .container {
  position: relative;
  z-index: 1;
}

.download-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.download-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.download-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.download-requirements {
  background: var(--dark-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 0 auto;
}

.requirements-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
}

.requirement {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray);
}

.requirement i {
  margin-right: 0.5rem;
  color: var(--accent);
}

/* Footer */
.footer {
  background: linear-gradient(to top, var(--dark), var(--darker));
  padding-top: 5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/img/footer-pattern.png') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-img {
  height: 40px;
  margin-right: 1rem;
}

.footer-about {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon.vk:hover {
  background: #4a76a8;
  color: white;
}

.social-icon.tg:hover {
  background: #0088cc;
  color: white;
}

.social-icon.yt:hover {
  background: #ff0000;
  color: white;
}

.social-icon.ds:hover {
  background: #5865f2;
  color: white;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light);
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-links i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.payment-methods img {
  height: 25px;
  filter: grayscale(100%) brightness(0.5);
  transition: var(--transition-fast);
}

.payment-methods img:hover {
  filter: grayscale(0%) brightness(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-lang select {
  background: var(--dark-light);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--box-shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-primary {
  color: var(--primary);
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-dark {
  background: var(--dark);
}

.bg-darker {
  background: var(--darker);
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .community-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .community-stats {
    order: 2;
  }
  
  .community-testimonials {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .title-line {
    font-size: 1.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .projects-grid,
  .features-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 1rem;
    right: 1rem;
  }
}