:root {
  --dark-bg: #A9A9A9;
  --darker-bg: #696969;
  --text-primary: rgba(0, 0, 0, 0.92);
  --text-secondary: #000;
  --text-tertiary: rgba(0, 0, 0, 0.5);
  --accent-blue: #0000FF;
  --accent-purple: #b400ff;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: #FFFFFF;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

h3 {
  font-size: 1.4rem;
}

.subtitle, p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem 0;
  font-weight: 400;
}

.neon {
  color: var(--accent-purple);
  text-shadow: 0 0 8px rgba(180, 0, 255, 0.5);
}

.ar-text {
  color: var(--accent-blue);
}

.neon-secondary {
  color: var(--accent-blue);
  text-shadow: 0 0 5px rgba(0, 225, 255, 0.3);
}

/* Buttons */
.order-button, .ar-button, .upload-button, .control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.order-button {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 225, 255, 0.2);
}

.order-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 225, 255, 0.3);
}

.ar-button {
  background: #DCDCDC;
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  backdrop-filter: blur(5px);
}

.ar-button:hover {
  background: rgba(0, 225, 255, 0.1);
}

.upload-button {
  background: rgba(0, 225, 255, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 225, 255, 0.3);
}

.upload-button:hover {
  background: rgba(0, 225, 255, 0.2);
}

.control-button {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
}

.control-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Model Cards */
.model-card {
  margin: 3rem 0;
}

.model-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.model-description {
  margin: 1rem 0 1.5rem;
}

/* Upload Area */
.drop-area {
  height: 400px;
  border: 2px dashed rgba(0, 225, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.2);
  margin: 1.5rem 0;
}

.drop-area:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 225, 255, 0.05);
}

.upload-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  fill: var(--accent-blue);
  opacity: 0.7;
  transition: var(--transition);
}

.drop-area:hover .upload-icon {
  opacity: 1;
  transform: scale(1.1);
}

.model-status {
  color: var(--text-secondary);
  margin: 1rem 0;
}

/* Order Info */
.order-info {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: #FFFFFF;
  backdrop-filter: blur(5px);
}

.order-info ul, .order-info ol {
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.order-info li {
  margin-bottom: 0.5rem;
}

.order-info a {
  color: var(--accent-blue);
  text-decoration: none;
}

.order-info a:hover {
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
}

.modal-content {
  background: #FFFFFF;
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 400px;
  position: relative;
  border: 1px solid rgba(0, 225, 255, 0.2);
}

.close-modal {
  color: var(--text-secondary);
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

.telegram-btn {
  background-color: #0088cc;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  transition: var(--transition);
}

.telegram-btn:hover {
  background-color: #0077b3;
}

.telegram-btn img {
  width: 20px;
  height: 20px;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  }
  
  .drop-area {
    height: 300px;
    padding: 1.5rem;
  }
  
  .model-container {
    height: 350px;
  }
}
