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

html {
  scroll-behavior: smooth;
}

.active {
  color: #ffffff !important;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a1626;
  background-image:
    radial-gradient(ellipse at 20% -10%, rgba(103,58,183,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 15%, rgba(103,58,183,.10) 0%, transparent 50%),
    linear-gradient(180deg, #050b13 0%, #0a1626 45%, #152e4a 100%);
  background-attachment: fixed;
  color: #c8cdd6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #b0b8c9;
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: #ffffff;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10,22,38,.95) 0%, rgba(13,21,48,.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 12px 0;
}

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

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

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #8e95a8;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #ffffff;
}

.nav-links .dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline;
  position: relative;
  padding-right: 13px;
}

.dropdown-toggle::after {
  content: "\25BE";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: linear-gradient(180deg, #1a2340 0%, #0f1a36 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1001;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #c8cdd6;
  white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(103,58,183,.15);
}

.nav-links .dropdown-menu a.active {
  color: #ffffff;
  background: rgba(103,58,183,.2);
}

.dropdown-divider {
  height: 1px;
  margin: 8px 0;
  background: rgba(255,255,255,.08);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #c8cdd6;
  font-size: 26px;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #091227;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(103,58,183,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(24,30,52,.8) 0%, transparent 50%);
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 20px;
  color: #8e95a8;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all .2s;
  cursor: pointer;
}

.btn-primary {
  background: #673ab7;
  color: #ffffff;
}

.btn-primary:hover {
  background: #7c4ddb;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #673ab7;
  color: #c8cdd6;
}

.btn-outline:hover {
  background: #673ab7;
  color: #ffffff;
}

/* Sections */
.section {
  padding: 48px 0;
  background: linear-gradient(135deg, #0a1626 0%, #1a3a5c 50%, #0a1626 100%);
}

.section-dark {
  background: linear-gradient(135deg, #050b13 0%, #0a1626 45%, #152e4a 100%);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #8e95a8;
  margin-bottom: 48px;
  font-size: 16px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.product-card {
  background: linear-gradient(145deg, #181e34 0%, #0f1a36 100%);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(103,58,183,.25);
}

.product-img-link {
  display: block;
}

.product-img {
  position: relative;
  height: 220px;
  background: #131b33;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(103,58,183,.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(24,30,52,.6) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.product-img-label {
  font-size: 14px;
  font-weight: 600;
  color: #5a6278;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-img img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #f44336;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 4px;
}

.badge-right {
  left: auto;
  right: 16px;
}

.badge-bottom {
  top: 44px;
}

.badge-real {
  background: #1e88e5;
}

.badge-sim {
  background: #673ab7;
}

.store-img {
  display: block;
  height: 53px;
  width: 180px;
}

.store-img-sm {
  display: block;
  height: 32px;
  width: auto;
}

.store-buttons-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.product-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info .btn,
.product-info .status-tag {
  margin-top: auto;
}

.price-tag {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.price-tag small {
  font-size: 12px;
  font-weight: 400;
  color: #5a6278;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-tags span {
  font-size: 11px;
  font-weight: 600;
  color: #8e95a8;
  background: #0d1530;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.store-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  color: #c8cdd6;
  margin-right: 8px;
}

.store-mini:hover {
  border-color: #673ab7;
  color: #ffffff;
}

.store-mini svg {
  width: 16px;
  height: 16px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 14px;
  color: #8e95a8;
  margin-bottom: 20px;
}

.status-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #f44336;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Store */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  transition: opacity .2s;
}

.store-btn:hover {
  opacity: .8;
}

.store-note {
  text-align: center;
  color: #5a6278;
  font-size: 14px;
  margin-top: 24px;
}

/* About */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: #8e95a8;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.contact-info .ci-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info .ci-item strong {
  display: block;
  color: #c8cdd6;
  font-size: 14px;
}

.contact-info .ci-item span {
  color: #8e95a8;
  font-size: 14px;
}

.contact-info .ci-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #181e34;
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #673ab7;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #8e95a8;
  transition: all .2s;
}

.social-row a:hover {
  border-color: #673ab7;
  color: #ffffff;
}

.contact-form {
  background: linear-gradient(145deg, #181e34 0%, #0f1a36 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 32px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #8e95a8;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.1);
  background: #0d1530;
  color: #c8cdd6;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s;
}

.form-control:focus {
  outline: none;
  border-color: #673ab7;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  background: #673ab7;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s;
}

.btn-submit:hover {
  background: #7c4ddb;
}

.btn-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-success {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #22c55e;
}

.alert-error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #ef4444;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* Contact */
.contact-content {
  text-align: center;
}

.contact-content p {
  font-size: 16px;
  color: #8e95a8;
}

.contact-content a {
  color: #c8cdd6;
  font-weight: 600;
}

.contact-content a:hover {
  color: #ffffff;
}

/* Page header (inner pages) */
.page-header {
  padding: 80px 0 16px;
  text-align: center;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(103,58,183,.22) 0%, transparent 60%),
    linear-gradient(135deg, #0a1626 0%, #152e4a 100%);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.page-header p {
  font-size: 13px;
  color: #8e95a8;
  margin-top: 2px;
}

/* Product detail */
.product-show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.product-show-img {
  height: 360px;
  background: #131b33;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(103,58,183,.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(24,30,52,.6) 0%, transparent 50%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.04);
}

.product-show-img img {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
}

.product-show-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.product-show-info p {
  font-size: 15px;
  color: #8e95a8;
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-show-info .price {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #8e95a8;
}

.back-link:hover {
  color: #ffffff;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(103,58,183,.30) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(103,58,183,.16) 0%, transparent 50%),
    linear-gradient(135deg, #0a1626 0%, #152e4a 45%, #0f2238 100%);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.carousel-slide:not([style*="url"]) {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(103,58,183,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(24,30,52,.9) 0%, transparent 50%),
    #091227;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,18,39,.85) 0%, rgba(9,18,39,.55) 50%, rgba(9,18,39,.15) 100%);
}

.carousel-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.carousel-content-center {
  text-align: center;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-logo {
  max-width: 320px;
  width: 100%;
  margin-bottom: 32px;
}

.carousel-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.carousel-content p {
  font-size: 16px;
  color: #b0b8c9;
  margin-bottom: 24px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(13,21,48,.7);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  opacity: 0;
  pointer-events: none;
}

.carousel:hover .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background: #673ab7;
  border-color: #673ab7;
}

.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.carousel-dot.active {
  background: #673ab7;
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .carousel {
    height: 100vh;
    min-height: 520px;
  }
  .carousel-content h2 {
    font-size: 24px;
  }
  .carousel-logo {
    max-width: 220px;
  }
  .carousel-arrow {
    display: none;
  }
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0a1626 0%, #152e4a 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}

.footer-menu a {
  color: #b0b8c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-black {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 0 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-bottom: 14px;
}

.footer-links a {
  color: #c8cdd6;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer p {
  font-size: 13px;
  color: #8e95a8;
}

.footer-by {
  font-size: 12px;
  margin-top: 0;
}

.footer-by a {
  color: #c8cdd6;
  font-weight: 600;
  text-decoration: none;
}

.footer-by a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-logo-img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  margin-left: 4px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 28px 0 8px;
}

.legal-content p,
.legal-content li {
  color: #8e95a8;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content a {
  color: #c8cdd6;
  font-weight: 600;
}

.legal-content a:hover {
  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d1530;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    margin: 8px 0 0 12px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

.hero-logo {
  max-width: 280px;
  margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-show {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
