/* Base */
:root {
  --primary-color: #00D4FF;
  --secondary-color: #8B5CF6;
  --accent-color: #FF10F0;
  --green-accent: #00FF88;
  --yellow-accent: #FFD700;
  --orange-accent: #FF6B35;
  --background-dark: #0F0C29;
  --background-medium: #24243e;
  --background-light: #313862;
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(145deg, #1e1b40, #120f28);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), white, white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.15);
  z-index: 9999;
  transition: width 0.25s ease-out;
  filter: blur(1px);
  border-radius: 100px;
}

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

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(139, 92, 246, 0.3);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes slide-up {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header/Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

header.scrolled {
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-right: 1.5rem;
}

.nav-links a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.explore-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  background: white;
  color: black;
  border: none;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.explore-btn:hover {
  transform: translateY(-2px);
  color: black;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  width: 350px;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle, var(--background-light), transparent 70%);
  filter: blur(100px);
}

.hero::before {
  left: -150px;
}

.hero::after {
  right: -150px;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(90deg, #00ffe0, #0077ff, #00ffe0);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: 0% center;
  }
}

.hero p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 5rem;
}

.hero-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  padding: 1rem 5rem;
  background: white;
  border-radius: 50px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
}

.hero-cta:hover {
  transform: translateY(-5px);
  color: black;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }

  .hero-cta {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
  }
}

/* About Section */
.about {
  padding: 100px 20px;
  text-align: center;
}

.about h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-desc {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #d1d5db;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
}

.feature-icon {
  flex-shrink: 0;
  margin-right: 30px;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--background-light);
}

.feature-content h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-content p {
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* Apps Section */
.apps {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.apps h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 2rem 1rem;
}

.app-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  transform: scale(1.03);
}

.app-card-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.app-image-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

.app-image-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 30px;
  background: white;
  display: inline-block;
}

.app-image-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 30px;
  background: white;
  color: black;
  display: none;
  justify-content: center;
  align-items: center;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.app-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.9rem;
  gap: 0.2rem;
  color: white;
}

.app-card-meta i {
  color: gold;
}

.rating i {
  color: var(--text-color);
  margin-right: 8px;
}

.downloads i {
  color: var(--text-color);
  margin-right: 8px;
}

.app-card h3 {
  font-size: 1.7rem;
  margin: 0.5rem 0;
  color: white;
}

.app-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.app-store-btn {
  background: linear-gradient(135deg, var(--green-accent), var(--yellow-accent));
  color: #000;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.app-store-btn:hover {
  transform: translateY(-3px);
}

.app-store-btn {
  background: white;
  color: #000;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-top: 1rem;
  transition: var(--transition);
}

.app-store-btn:hover {
  transform: translateY(-3px);
  color: black;
}

.coming-soon {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  position: relative;
}

.contact h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
}

.contact-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  color: var(--text-color);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icon-circle {
  background: white;
  color: var(--background-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-color);
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-color);
}

.form-submit {
  background: white;
  color: black;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.form-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-color);
  font-size: 1.2rem;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  color: white;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
footer {
  background: radial-gradient(ellipse at top left, #1e1b4b, #0f0c29);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 2rem;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  color: #d1d5db;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  font-size: 1.4rem;
  color: #cbd5e1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  color: white;
  transform: scale(1.15);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 1rem;
}

.footer-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.copyright {
  margin-top: 1.5rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* 404 Page */
.not-found,
.admin-dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

.not-found h1 {
  font-size: 8rem;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.not-found-btn {
  background: white;
  color: black;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.4rem;
}

.not-found-btn:hover {
  transform: translateY(-3px);
  color: black;
}

.not-found p,
.admin-dashboard p {
  font-size: 1.5rem;
  margin: 2rem 0;
}

.minimal-certs {
  padding: 60px 0;
  text-align: center;
}

.minimal-certs .container {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
}

.minimal-certs .container img {
  width: 200px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
  padding: 20px 25px;
}

.cert-badge img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.reveal {
  position: relative;
  opacity: 0.7;
  transform: translateY(40px) scale(0.98);
  transition: all 0.6s ease;
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-image {
    max-width: 45%;
    opacity: 0.8;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .about h2,
  .apps h2,
  .contact h2 {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}