/* ImeiOn - Ana CSS Dosyası */

/* Font ve Temel Stiller */
:where([class^="ri-"])::before { 
  content: "\f3c2"; 
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #ffffff;
}

/* Glow Efektleri */
.glow-effect {
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

/* Particle Animasyonları */
.particle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #2196F3;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px); 
    opacity: 0.3; 
  }
  50% { 
    transform: translateY(-20px) translateX(10px); 
    opacity: 1; 
  }
}

/* Gradient Metin */
.gradient-text {
  background: linear-gradient(135deg, #2196F3, #64B5F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Backdrop Blur */
.blur-backdrop {
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 18, 0.8);
}

/* Kart Hover Efektleri */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2);
}

/* Input Glow Efektleri */
.input-glow:focus {
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.5);
}

/* Ripple Efektleri */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Mobile Menu Stilleri */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Payment Modal Stilleri */
.payment-modal {
  z-index: 100 !important;
}

.payment-modal .bank-modal-container {
  max-height: 95vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modal Header Sticky */
.modal-header {
  position: sticky;
  top: 0;
  background: #111827;
  z-index: 10;
  border-bottom: 1px solid #374151;
}

/* FAQ Accordion Stilleri */
.faq-item {
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(55, 65, 81, 0.5);
}

.faq-answer {
  transition: all 0.3s ease;
}

/* Tab Stilleri */
.tab-button {
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: #2196F3;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Loading Animasyonları */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Mobile Responsive İyileştirmeler */
@media (max-width: 768px) {
  /* Touch target improvements */
  button, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Font size optimizations */
  .text-5xl {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .text-6xl {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .text-4xl {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .text-3xl {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .text-2xl {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  .text-xl {
    font-size: 1.125rem;
    line-height: 1.4;
  }
  
  .text-lg {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Spacing improvements */
  .px-8 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .gap-12 {
    gap: 2rem;
  }
  
  .gap-8 {
    gap: 1.5rem;
  }
  
  .gap-6 {
    gap: 1rem;
  }
  
  /* Mobile menu improvements */
  #mobileMenu {
    top: 80px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 60;
  }
  
  /* Mobile form improvements */
  .phone-input-container {
    flex-direction: column;
  }
  
  .phone-input-container select {
    border-radius: 8px 8px 0 0;
    border-bottom: none;
    width: 100% !important;
  }
  
  .phone-input-container input {
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #4B5563;
  }
  
  /* Mobile grid improvements */
  .grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile button improvements */
  .flex.flex-col.sm\\:flex-row {
    flex-direction: column;
  }
  
  .flex.flex-col.sm\\:flex-row > * {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Mobile spacing improvements */
  .space-y-8 > * + * {
    margin-top: 1.5rem;
  }
  
  .space-y-6 > * + * {
    margin-top: 1rem;
  }
  
  /* Mobile padding improvements */
  .p-8 {
    padding: 1.5rem;
  }
  
  .p-6 {
    padding: 1rem;
  }
  
  /* Mobile text improvements */
  .text-center {
    text-align: center;
  }
  
  /* Mobile navigation improvements */
  header {
    padding: 0.75rem 1rem;
  }
  
  .font-pacifico {
    font-size: 1.5rem;
  }
  
  /* Mobile card improvements */
  .card-hover {
    margin: 0.5rem;
  }
  
  /* Mobile phone 3D improvements */
  .phone-3d {
    height: 300px;
  }
  
  /* Mobile particle improvements */
  .particle {
    display: none;
  }
  
  /* Mobile button touch improvements */
  button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Mobile input improvements */
  input, select, textarea {
    font-size: 16px;
    -webkit-appearance: none;
    border-radius: 8px;
  }
  
  /* Mobile focus improvements */
  button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
  }
  
  /* Mobile modal improvements */
  .payment-modal {
    z-index: 100 !important;
  }
  
  .payment-modal .bank-modal-container {
    max-height: 95vh;
    margin: 0.5rem;
    border-radius: 1rem;
  }
  
  .payment-modal .modal-content {
    padding: 1rem;
  }
  
  .payment-modal .modal-header {
    padding: 1rem;
  }
  
  /* Mobile form improvements */
  .payment-form input,
  .payment-form select,
  .payment-form textarea {
    min-height: 48px;
    font-size: 16px;
  }
  
  .payment-form button {
    min-height: 48px;
    font-size: 16px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .text-5xl {
    font-size: 1.75rem;
  }
  
  .text-6xl {
    font-size: 2rem;
  }
  
  .text-4xl {
    font-size: 1.5rem;
  }
  
  .text-3xl {
    font-size: 1.25rem;
  }
  
  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .py-20 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .py-16 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .py-12 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .mb-16 {
    margin-bottom: 1.5rem;
  }
  
  .mb-12 {
    margin-bottom: 1rem;
  }
  
  .mb-8 {
    margin-bottom: 0.75rem;
  }
  
  /* Mobile menu button improvements */
  #mobileMenuBtn {
    padding: 0.75rem;
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Mobile form improvements */
  input, select, textarea {
    font-size: 16px;
    padding: 0.75rem;
  }
  
  /* Mobile button improvements */
  button {
    min-height: 48px;
    padding: 0.75rem 1rem;
  }
  
  /* Mobile card improvements */
  .bg-gray-800-30 {
    margin: 0.25rem;
  }
  
  /* Mobile phone 3D improvements */
  .phone-3d {
    height: 250px;
  }
  
  /* Mobile modal improvements */
  .payment-modal .bank-modal-container {
    margin: 0.25rem;
    max-height: 98vh;
  }
  
  .payment-modal .modal-content {
    padding: 0.75rem;
  }
  
  .payment-modal .modal-header {
    padding: 0.75rem;
  }
}

/* Pricing Card Stilleri */
.pricing-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(55, 65, 81, 0.5);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2);
  border-color: #2196F3;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
  border-color: #2196F3;
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2196F3;
  font-weight: bold;
}

/* Toggle Switch Stilleri */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #374151;
  transition: .4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

/* IMEI Check Result Stilleri */
.result-card {
  background: rgba(55, 65, 81, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(55, 65, 81, 0.5);
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

/* Dashboard Stilleri */
.dashboard-card {
  background: rgba(55, 65, 81, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(55, 65, 81, 0.5);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

/* Scrollbar Stilleri */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(55, 65, 81, 0.3);
}

::-webkit-scrollbar-thumb {
  background: #2196F3;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1976D2;
}

/* Bank Accounts Modal Scrollbar Fix */
.bank-modal-container {
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.bank-modal-container::-webkit-scrollbar {
  width: 6px;
}

.bank-modal-container::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}

.bank-modal-container::-webkit-scrollbar-thumb {
  background: #2196F3;
  border-radius: 8px;
  border: 2px solid #1f2937;
}

.bank-modal-container::-webkit-scrollbar-thumb:hover {
  background: #1976D2;
}

/* Telefon Input Stilleri */
.phone-input-container {
  display: flex;
  align-items: stretch;
}

.phone-input-container select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  min-width: 120px;
}

.phone-input-container input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}

.phone-input-container select:focus,
.phone-input-container input:focus {
  border-color: #2196F3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Ülke kodu seçici hover efekti */
.phone-input-container select option {
  padding: 8px;
}

.phone-input-container select option:hover {
  background-color: #2196F3;
  color: white;
} 

/* Terminal IMEI Kayıt Sistemi Stilleri */
.terminal-container {
  background: linear-gradient(180deg, #071018, rgba(0,0,0,0.25));
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(2,6,12,0.7);
  overflow: hidden;
}

.terminal-header {
  background: rgba(0,0,0,0.3);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  color: #6b7b8a;
}

.terminal-output {
  background: #00000022;
  padding: 18px;
  min-height: 220px;
  max-height: 60vh;
  overflow-y: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.terminal-line {
  margin-bottom: 8px;
  animation: fadeIn 0.3s ease-in;
}

.terminal-line.ok {
  color: #7bed9f;
}

.terminal-line.info {
  color: #cfe8ff;
}

.terminal-line.warning {
  color: #ffd700;
}

.terminal-line.error {
  color: #ff6b6b;
}

.terminal-line.muted {
  color: #6b7b8a;
}

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 1.1em;
  background: #cfe8ff;
  margin-left: 3px;
  vertical-align: bottom;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.terminal-form {
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.terminal-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.terminal-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #cfe8ff;
  outline: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
}

.terminal-input:focus {
  border-color: #7bed9f;
}

.terminal-btn {
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(180deg, #7bed9f, #3ecf7f);
  color: #022;
  cursor: pointer;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  transition: all 0.2s ease;
}

.terminal-btn:hover {
  background: linear-gradient(180deg, #6bdd8f, #2ebf6f);
  transform: translateY(-1px);
}

.terminal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.imei-registration-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.registration-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: 500;
}

.registration-status.pending {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.registration-status.success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.registration-status.error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 520px) {
  .terminal-output {
    min-height: 180px;
    padding: 14px;
  }
  
  .terminal-form {
    padding: 14px;
  }
  
  .terminal-input-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .terminal-btn {
    width: 100%;
  }
}

/* Device and Package Selection Styles */
.device-selection,
.package-selection {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(31, 41, 55, 0.5);
  border-radius: 0.5rem;
  border: 1px solid #4b5563;
}

.device-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-height: 40px;
}

.device-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.package-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem;
  background: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.package-btn:hover {
  background: #4b5563;
  border-color: #6b7280;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.package-btn .font-semibold {
  color: #ffffff;
  font-weight: 600;
}

.package-btn .text-sm {
  color: #d1d5db;
  font-size: 0.875rem;
}

.package-btn .text-xl {
  color: #3b82f6;
  font-size: 1.125rem;
  font-weight: 700;
}

.package-btn .text-xs {
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Mobile responsive for device and package selection */
@media (max-width: 768px) {
  .device-selection .grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .device-btn {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .package-btn {
    padding: 0.5rem;
  }
  
  .package-btn .text-xl {
    font-size: 1rem;
  }
} 