/* Trial Page Styles - Style ChatGPT/Gemini Flow */

.trial-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  overflow: hidden;
}

.trial-background::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.trial-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Header */
.trial-header {
  position: relative;
  width: 100%;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.trial-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.trial-back-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trial-back-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Container */
.trial-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.trial-hero {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 0;
}

.trial-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.trial-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.6;
}

.trial-badge {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.trial-badge span {
  padding: 10px 20px;
  background: rgba(79, 172, 254, 0.15);
  border: 1px solid rgba(79, 172, 254, 0.3);
  border-radius: 25px;
  color: #4facfe;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Guide Section */
.trial-guide {
  margin-top: 40px;
}

.guide-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.guide-step {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s ease;
  opacity: 0.5;
  transform: translateY(20px);
}

.guide-step.active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(79, 172, 254, 0.5);
  box-shadow: 0 10px 40px rgba(79, 172, 254, 0.2);
}

.guide-step.completed {
  opacity: 0.7;
  border-color: rgba(76, 175, 80, 0.5);
}

.step-header {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.guide-step.completed .step-number {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.step-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.step-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1.1rem;
}

.step-body {
  margin-top: 20px;
}

/* Form Styles */
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1rem;
}

.form-group input {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-group input:focus {
  outline: none;
  border-color: #4facfe;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-error {
  padding: 15px;
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  border-radius: 12px;
  color: #ff5252;
  margin-top: 10px;
}

.form-success {
  padding: 15px;
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  border-radius: 12px;
  color: #4caf50;
  margin-top: 10px;
}

.trial-toggle-btn {
  width: 100%;
  padding: 20px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% auto;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 25px;
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.trial-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.trial-toggle-btn:hover::before {
  left: 100%;
}

.trial-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 40px rgba(102, 126, 234, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background-position: right center;
  border-color: rgba(255, 255, 255, 0.4);
}

.trial-toggle-btn:active {
  transform: translateY(-1px);
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.trial-submit-btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
  position: relative;
  overflow: hidden;
}

.trial-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.6);
}

.trial-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loader {
  display: inline-block;
}

/* Instruction Cards */
.instruction-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.instruction-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.instruction-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.instruction-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 15px;
}

.credentials-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.credentials-box p {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.9);
}

.credentials-box strong {
  color: #4facfe;
}

.instruction-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 20px 0;
}

.instruction-steps li {
  counter-increment: step-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
}

.instruction-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.instruction-steps li strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.instruction-steps li p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

.trial-login-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.trial-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.6);
}

.instruction-note {
  margin-top: 15px;
  padding: 12px;
  background: rgba(79, 172, 254, 0.1);
  border-left: 3px solid #4facfe;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Footer */
.trial-footer {
  text-align: center;
  padding: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 60px;
}

.trial-footer a {
  color: #4facfe;
  text-decoration: none;
}

.trial-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .trial-container {
    padding: 20px 15px;
  }
  
  .trial-title {
    font-size: 2rem;
  }
  
  .trial-badge {
    flex-direction: column;
    align-items: center;
  }
  
  .step-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .instruction-card {
    flex-direction: column;
  }
  
  .instruction-steps li {
    padding-left: 45px;
  }
  
  .trial-header-container {
    padding: 0 15px;
  }
}

/* Example Chatbot Styles */
.example-chatbot-container {
  margin-top: 20px;
}

.example-chatbot {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
  max-width: 100%;
  display: block;
  visibility: visible;
}

.example-chatbot.active {
  opacity: 1;
  transform: translateY(0);
}

.example-chatbot-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.example-chatbot-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.example-chatbot-info h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.example-chatbot-info p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.example-chatbot-messages {
  max-height: 600px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.example-chatbot-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: fadeInUp 0.4s ease;
}

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

.example-chatbot-message.bot {
  flex-direction: row;
}

.example-chatbot-message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.example-chatbot-message.bot .example-chatbot-message-avatar {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.example-chatbot-message-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
}

.example-chatbot-message-content h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #fff;
}

.example-chatbot-message-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Drop Zone */
.example-drop-zone {
  background: rgba(79, 172, 254, 0.1);
  border: 2px dashed rgba(79, 172, 254, 0.5);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.example-drop-zone.completed {
  border-color: rgba(76, 175, 80, 0.5);
  background: rgba(76, 175, 80, 0.1);
}

.example-drop-zone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.example-drop-icon {
  font-size: 3rem;
  opacity: 0.7;
}

.example-drop-zone p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.example-drop-hint {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.example-images-preview {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.example-image-item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.example-image-item.dropped {
  opacity: 1;
  transform: scale(1);
}

.example-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(76, 175, 80, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.example-image-item.dropped .example-image-overlay {
  opacity: 1;
  animation: checkPulse 0.5s ease;
}

@keyframes checkPulse {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.example-image-check {
  font-size: 2rem;
  color: #fff;
}

/* Prompt Input */
.example-prompt-container {
  width: 100%;
}

.example-prompt-input textarea {
  width: 100%;
  min-height: 100px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
}

.example-prompt-input textarea:focus {
  outline: none;
  border-color: #4facfe;
  background: rgba(255, 255, 255, 0.08);
}

.example-prompt-input textarea.completed {
  border-color: rgba(76, 175, 80, 0.5);
  background: rgba(76, 175, 80, 0.1);
}

/* Result */
.example-result-container {
  width: 100%;
}

.example-result-image {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.example-result-image.show {
  opacity: 1;
  transform: scale(1);
}

.example-result-image img {
  width: 100%;
  height: auto;
  display: block;
}

.example-result-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.example-result-badge {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.example-chatbot-input {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.example-chatbot-next-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.example-chatbot-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
}

.example-message-special {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .example-chatbot-messages {
    max-height: 500px;
    padding: 15px;
  }
  
  .example-image-item {
    width: 100px;
    height: 100px;
  }
  
  .example-drop-zone {
    padding: 20px;
    min-height: 120px;
  }
}



