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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Inter', sans-serif;
  background: #000000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.005) 2px,
      rgba(255, 255, 255, 0.005) 4px
    );
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

.container {
  max-width: 650px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  opacity: 0.5;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 0.5;
    transform: translateY(0);
  }
}

.header {
  text-align: center;
  margin-bottom: 40px;
  color: white;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
}

.header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0.3;
}

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

.subtitle {
  font-size: 1rem;
  opacity: 0.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.card {
  background: rgba(10, 10, 10, 0.9);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid #1a1a1a;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  animation: fadeInScale 0.8s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.info-box {
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  padding: 0;
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.info-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.info-box:hover {
  border-color: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.info-box h3 {
  padding: 20px 24px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid #1a1a1a;
  background: #0a0a0a;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #1a1a1a;
}

.spec-item {
  padding: 20px 24px;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.spec-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #ffffff, transparent);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-item:hover {
  background: #121212;
  transform: translateX(4px);
}

.spec-item:hover::before {
  height: 100%;
}

.spec-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.spec-value {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

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

.form-group label {
  display: block;
  margin-bottom: 12px;
}

.label-text {
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.9;
}

.file-info {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-top: 8px;
  font-weight: 400;
}

input[type="file"] {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 2px dashed #2a2a2a;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #0a0a0a;
  color: #ffffff;
  font-size: 0.95rem;
}

input[type="file"]:hover {
  border-color: #404040;
  background: #0f0f0f;
  transform: translateY(-1px);
}

input[type="file"]:focus {
  outline: none;
  border-color: #ffffff;
}

select {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #2a2a2a;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #0a0a0a;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

select:hover {
  border-color: #404040;
  background-color: #0f0f0f;
}

select:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

select option {
  background: #0a0a0a;
  color: #ffffff;
  padding: 12px;
}

.fps-note {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fps-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #60a5fa;
  opacity: 0.8;
}

.fps-note strong {
  color: #ffffff;
  font-weight: 600;
}

.fps-note:hover {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateX(2px);
}

.btn-primary {
  width: 100%;
  padding: 20px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover:not(:disabled)::before {
  transform: translateX(100%);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #2a2a2a;
  color: #666;
}

.progress-container {
  margin-top: 32px;
  padding: 24px;
  background: #0f0f0f;
  border-radius: 12px;
  border: 1px solid #1a1a1a;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.85rem;
}

.progress-bar {
  height: 8px;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #ffffff;
  width: 0%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.status-message {
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid;
}

.status-message.success {
  background: #0a1f0a;
  color: #4ade80;
  border-color: #1a3a1a;
}

.status-message.error {
  background: #1f0a0a;
  color: #f87171;
  border-color: #3a1a1a;
}

.status-message.info {
  background: #0a0f1f;
  color: #60a5fa;
  border-color: #1a2a3a;
}

.whatsapp-section {
  margin-top: 32px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.whatsapp-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.whatsapp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 211, 102, 0.1),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-card:hover::before {
  left: 100%;
}

.whatsapp-card:hover {
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.15);
}

.whatsapp-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.whatsapp-card:hover .whatsapp-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(37, 211, 102, 0.2);
}

.whatsapp-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.whatsapp-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.whatsapp-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25d366;
  color: #000000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

.whatsapp-btn:hover {
  background: #22c55e;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-btn:hover svg {
  transform: translateX(4px);
}

.footer {
  text-align: center;
  margin-top: 40px;
  color: white;
  animation: fadeIn 0.8s ease-out 1s both;
}

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

.footer p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.note {
  opacity: 0.5;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
  }
  
  .card {
    padding: 32px 24px;
  }
  
  .subtitle {
    font-size: 0.9rem;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .spec-item {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.8rem;
  }
  
  .logo {
    font-size: 0.7rem;
  }
  
  .card {
    padding: 24px 20px;
  }
  
  .whatsapp-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .whatsapp-content h3 {
    font-size: 0.95rem;
  }
  
  .whatsapp-content p {
    font-size: 0.8rem;
  }
  
  .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
}
