.background-fx {
  position: fixed;
  inset: 0;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, 
              rgba(5, 6, 8, 0.95) 0%, 
              rgba(5, 6, 8, 1) 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.1;
  will-change: transform;
}

.orb-primary {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(0, 255, 157, 0.5) 100%);
  top: -20%;
  left: 6%;
  animation: float-primary 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.orb-secondary {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #3666ff 0%, rgba(54, 102, 255, 0.5) 100%);
  bottom: -20%;
  right: 5%;
  animation: float-secondary 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate-reverse;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iIzAwMCIgb3BhY2l0eT0iMCIvPjxyZWN0IHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjAyIiBmaWxsLW9wYWNpdHk9IjAuMDUiIGZpbHRlcj0idXJsKCNub2lzZSkiLz48ZGVmcz48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48L2RlZnM+PC9zdmc+");
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: noise-fade 3s ease-in-out infinite alternate;
}

@keyframes float-primary {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 40px) scale(1.05);
  }
  100% {
    transform: translate(10px, 50px) scale(1);
  }
}

@keyframes float-secondary {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.08);
  }
  100% {
    transform: translate(-10px, -40px) scale(1);
  }
}

@keyframes noise-fade {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.3;
  }
}
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -30px;
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
  z-index: 100;
  animation: fall linear infinite, sway 4s ease-in-out infinite;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
  filter: blur(0.3px);
}

.snowflake::before {
  content: '•';
  display: block;
  animation: spin 8s linear infinite;
}

@keyframes fall {
  0% {
    top: -5%;
    opacity: 0;
  }
  5% {
    opacity: 0.5;
  }
  95% {
    opacity: 0.5;
  }
  100% {
    top: 105%;
    opacity: 0;
  }
}

@keyframes sway {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.glass {
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
}

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

.brand {
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.brand-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.header__logo {
  width: 32px;
  height: 32px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.brand:hover .header__logo {
  transform: rotate(-5deg) scale(1.05);
}

.accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link:hover,
.link.active {
  color: var(--text-main);
}

.link:hover::after,
.link.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-telegram {
  background: var(--accent);
  color: #000000;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease, 
              opacity 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 255, 157, 0.3);
}

.btn-telegram:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
  opacity: 0.95;
}

.btn-telegram:active {
  transform: translateY(0) scale(1);
  transition-duration: 0.1s;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 48px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid rgba(0, 255, 157, 0.35);
  margin-bottom: 20px;
  background: rgba(0, 255, 157, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 4px 12px rgba(0, 255, 157, 0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.status-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 8px 20px rgba(0, 255, 157, 0.3);
  background: rgba(0, 255, 157, 0.12);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.05em;
}

.text-glow {
  background: linear-gradient(120deg, #ffffff 0%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

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

.hero-desc {
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 26px;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero {
    text-align: left;
  }

  .hero-container {
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              background 0.3s ease;
  cursor: pointer;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
              0 0 0 1px rgba(0, 255, 157, 0.2);
  background: rgba(16, 16, 18, 1);
}

.card:active {
  transform: translateY(-4px) scale(1);
  transition-duration: 0.1s;
}

.card-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 10px 10px 0 10px;
  background: radial-gradient(circle at 0 0, rgba(0, 255, 157, 0.14), transparent 60%);
}

.card-media-inner {
  position: relative;
  width: 100%;
  padding-top: 56%;
  overflow: hidden;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
              filter 0.3s ease;
}

.card:hover .card-media img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.card-body {
  padding: 10px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.status-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.st-safe {
  background: rgba(0, 255, 157, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.st-warn {
  background: rgba(255, 180, 0, 0.12);
  color: #ffb400;
  border: 1px solid rgba(255, 180, 0, 0.32);
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  min-height: 2.4em;
}

.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 999px;
  color: #cccccc;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.price {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-sm {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.25s ease, 
              border-color 0.25s ease, 
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.btn-sm:hover {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

.btn-sm:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: all 0.2s ease;
  opacity: 0;
  z-index: 2;
}

.card-media:hover .image-nav {
  opacity: 1;
}

.image-nav:hover {
  background: rgba(0, 255, 157, 0.8);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.image-nav-prev {
  left: 8px;
}

.image-nav-next {
  right: 8px;
}

.image-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.image-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.image-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.25s ease, 
              border-color 0.25s ease, 
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 255, 157, 0.25);
}

.filter-btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}

#search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.3s ease,
              transform 0.3s ease;
}

#search-input::placeholder {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

#search-input:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

#search-input:focus {
  border-color: rgba(0, 255, 157, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.15),
              0 4px 16px rgba(0, 255, 157, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

#search-input:focus::placeholder {
  color: var(--accent);
  opacity: 0.5;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
  gap: 18px;
  justify-content: center;
}

@media (max-width: 900px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
}

@media (max-width: 600px) {
  .grid-products {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .section-after-hero {
    padding-top: 60px;
  }
}
.status-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 26px 22px 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.pulse-ring {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7);
  position: relative;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7),
                0 0 12px rgba(0, 255, 157, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 255, 157, 0),
                0 0 16px rgba(0, 255, 157, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0),
                0 0 12px rgba(0, 255, 157, 0.5);
  }
}

.status-list {
  display: flex;
  flex-direction: column;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.status-row:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
  border-color: rgba(0, 255, 157, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-row:last-child {
  margin-bottom: 0;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dot-pulse 2s ease infinite;
}

@keyframes dot-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15);
  }
}

.dot-safe {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.dot-warn {
  background: #ffb400;
  box-shadow: 0 0 10px #ffb400;
}

.status-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 20px 20px 18px 20px;
  border-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              background 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.faq-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(0, 255, 157, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: rgba(22, 22, 24, 1);
}

.faq-title {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  min-height: 2.4em;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 157, 0.3) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 157, 0.3);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 157, 0.5);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
  z-index: 10;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.modal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.2s ease;
  font-family: var(--font);
}

.modal-input:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.modal-input::placeholder {
  color: var(--text-muted);
}

.modal-input:focus {
  border-color: rgba(0, 255, 157, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.15);
  transform: translateY(-1px);
}

.modal-input.error {
  border-color: rgba(255, 77, 77, 0.6);
  background: rgba(255, 77, 77, 0.05);
}

.modal-input.error:focus {
  border-color: rgba(255, 77, 77, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.15);
}

.input-error {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255, 77, 77, 0.9);
  font-weight: 500;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payment-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
  text-align: center;
}

.payment-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.payment-btn.selected {
  background: rgba(0, 255, 157, 0.15);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 255, 157, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.payment-btn.selected .payment-icon-wrapper {
  color: var(--accent);
}

.payment-btn.selected .payment-check {
  opacity: 1;
  transform: scale(1);
}

.payment-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: var(--text-main);
  transition: color 0.3s ease, background 0.3s ease;
}

.payment-btn.selected .payment-icon-wrapper {
  background: rgba(0, 255, 157, 0.2);
}

.payment-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.payment-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.payment-description {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.payment-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.payment-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.modal-purchase {
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.modal-purchase:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.modal-error {
  padding: 14px 18px;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  color: rgba(255, 77, 77, 0.95);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  text-align: center;
}

.modal-summary {
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-value {
  color: var(--text-main);
  font-weight: 600;
}

.summary-total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
}

.summary-total .summary-label {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.1rem;
}

.summary-total .summary-value {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .modal-backdrop {
    padding: 16px;
    padding-top: 80px;
  }

  .modal-content {
    padding: 24px 20px;
    max-height: 92vh;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-subtitle {
    font-size: 0.85rem;
  }

  .payment-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .payment-btn {
    flex-direction: row;
    text-align: left;
    padding: 14px;
  }

  .payment-icon-wrapper {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .payment-info {
    flex: 1;
  }

  .payment-check {
    position: static;
    margin-left: auto;
  }

  .modal-section {
    margin-bottom: 20px;
  }

  .modal-summary {
    margin-bottom: 24px;
    padding: 16px;
  }

  .summary-row {
    font-size: 0.85rem;
  }

  .summary-total {
    font-size: 1rem;
  }

  .summary-total .summary-label {
    font-size: 1rem;
  }

  .summary-total .summary-value {
    font-size: 1.1rem;
  }
}

.modal-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
}

.payment-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.payment-btn:disabled:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  box-shadow: none;
}
.product-view {
  padding-top: 110px;
  min-height: calc(100vh - 64px);
}

.error-state {
  text-align: center;
  padding: 80px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.error-state h2 {
  margin-bottom: 24px;
  color: var(--text-main);
  font-size: 1.8rem;
}

.product-back {
  margin-top: 8px;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-back:hover {
  transform: translateX(-4px);
}

.product-header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.product-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.6;
}

.product-meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 20px 0 0 0;
}

.meta-pill {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.meta-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 255, 157, 0.2);
}

.meta-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.86rem;
}

.product-cover {
  justify-self: end;
}

.product-cover-inner {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.08), transparent 55%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.product-cover-inner:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 255, 157, 0.3);
}

.product-cover-inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.product-cover-inner:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.product-pricing {
  margin-top: 20px;
  margin-bottom: 30px;
}

.product-pricing-sub {
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(10, 10, 12, 0.96));
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              background 0.3s ease;
  min-height: 180px;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 255, 157, 0.6);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(0, 255, 157, 0.2);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(15, 15, 18, 1));
}

.pricing-card.highlight {
  border-color: rgba(0, 255, 157, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85),
              0 0 30px rgba(0, 255, 157, 0.15);
  background: radial-gradient(circle at top, rgba(0, 255, 157, 0.08), rgba(10, 10, 12, 1));
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pricing-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-badge {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 80, 80, 0.12);
  color: #ff8383;
  border: 1px solid rgba(255, 80, 80, 0.32);
}

.pricing-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 1.12rem;
  font-weight: 700;
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-top: 2px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-features span {
  display: block;
}

.pricing-cta {
  margin-top: auto;
}

.product-section-title {
  font-size: 1.4rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.product-features {
  margin-top: 20px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: start;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  background: rgba(15, 15, 17, 0.98);
}

.feature-card h3 {
  font-size: 0.92rem;
  margin-bottom: 9px;
  font-weight: 600;
}

.feature-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature-card li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feature-check {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
  animation: feature-glow 2s ease-in-out infinite;
}

@keyframes feature-glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@media (max-width: 900px) {
  .product-view {
    padding-top: 100px;
  }

  .product-back {
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .product-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-cover {
    justify-self: stretch;
  }

  .product-cover-inner img {
    max-height: 240px;
  }

  .product-meta-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .meta-pill {
    padding: 10px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .product-view {
    padding-top: 90px;
  }

  .product-title {
    font-size: 1.6rem;
  }

  .product-desc {
    font-size: 0.9rem;
  }

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

  .product-cover-inner img {
    max-height: 200px;
  }

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

.product-cover {
  position: relative;
}

.product-cover-inner {
  position: relative;
}

.product-cover .image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.product-cover .image-nav:hover {
  background: rgba(0, 255, 157, 0.9);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.product-cover .image-nav-prev {
  left: 16px;
}

.product-cover .image-nav-next {
  right: 16px;
}

.image-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--card-bg);
  padding: 0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail.active {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .product-cover .image-nav {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }

  .product-cover .image-nav-prev {
    left: 8px;
  }

  .product-cover .image-nav-next {
    right: 8px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .image-thumbnails {
    gap: 8px;
  }
}
.payment-status-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg);
}

.payment-status-card {
  max-width: 560px;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.status-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.payment-status-card.success .status-icon-wrapper {
  background: rgba(0, 255, 157, 0.15);
  color: var(--accent);
}

.payment-status-card.failed .status-icon-wrapper {
  background: rgba(255, 77, 77, 0.15);
  color: rgba(255, 77, 77, 0.9);
}

.status-icon {
  width: 60px;
  height: 60px;
}

.status-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.payment-status-card.success .status-title {
  background: linear-gradient(120deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.payment-status-card.failed .status-title {
  color: rgba(255, 77, 77, 0.95);
}

.status-message {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 28px;
  font-weight: 500;
  line-height: 1.6;
}

.status-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.status-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.status-info p:last-child {
  margin-bottom: 0;
}

.status-info ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.status-info li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.status-info li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: bold;
}

.payment-status-card.failed .status-info li::before {
  color: rgba(255, 77, 77, 0.9);
}

.status-btn {
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .payment-status-card {
    padding: 36px 28px;
  }

  .status-title {
    font-size: 1.8rem;
  }

  .status-message {
    font-size: 1rem;
  }

  .status-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .status-icon {
    width: 48px;
    height: 48px;
  }
}
:root {
  --bg: #050608;
  --card-bg: rgba(12, 12, 14, 0.9);
  --accent: #00ff9d;
  --accent-glow: rgba(0, 255, 157, 0.28);
  --border: rgba(255, 255, 255, 0.06);
  --text-main: #ffffff;
  --text-muted: #8b8b93;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
}

main {
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.hero .reveal,
.section .reveal {
  animation: revealFallback 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealFallback {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.86rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.25s ease, 
              color 0.25s ease, 
              opacity 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px var(--accent-glow);
  opacity: 0.95;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-glass:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.accent {
  color: var(--accent);
}

.label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  display: block;
  margin-bottom: 6px;
}

.sub-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-after-hero {
  padding-top: 72px;
}

.section-head {
  text-align: left;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.glass-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  min-height: 2.4em;
}

@media (max-width: 600px) {
  .section {
    padding: 52px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .section-after-hero {
    padding-top: 60px;
  }
}
