/* ==========================================================================
   Modern SIRATDIK 2025 Theme
   ========================================================================== */

/* ==========================================================================
   1.0 CSS Variables & Root Styles
   ========================================================================== */
:root {
  /* Colors */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --accent-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --dark-gradient: linear-gradient(135deg, #6974dc 0%, #6974dc 100%);
  
  --primary-color: #667eea;
  --secondary-color: #4facfe;
  --accent-color: #fa709a;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #1a1a2e;
  --bg-glass: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-modal-backdrop: 1030;
  --z-fixed: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================================================
   1.1 Scroll Behavior
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* ==========================================================================
   2.0 Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

.modern-theme {
  position: relative;
}

/* ==========================================================================
   3.0 Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   4.0 Preloader
   ========================================================================== */
.modern-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.preloader-content {
  text-align: center;
  color: var(--text-white);
}

.circuit-loader {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto var(--spacing-lg);
}

.circuit-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 1px;
  animation: circuitPulse 2s ease-in-out infinite;
}

.circuit-line:nth-child(1) {
  top: 20px;
  animation-delay: 0s;
}

.circuit-line:nth-child(2) {
  top: 40px;
  animation-delay: 0.3s;
}

.circuit-line:nth-child(3) {
  top: 60px;
  animation-delay: 0.6s;
}

@keyframes circuitPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ==========================================================================
   5.0 Sidebar Navigation
   ========================================================================== */
.sidebar-nav {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: var(--dark-gradient);
  backdrop-filter: blur(20px);
  z-index: var(--z-fixed);
  transition: left var(--transition-normal);
  overflow-y: auto;
  pointer-events: auto;
}

.sidebar-nav.active {
  left: 0;
  pointer-events: auto;
}

.sidebar-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  flex: 1;
}

.sidebar-logo {
  height: 40px;
  width: auto;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.sidebar-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-content {
  padding: var(--spacing-lg);
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}

.nav-menu {
  list-style: none;
  flex: 1;
}

.nav-item {
  margin-bottom: var(--spacing-sm);
}

.nav-link {
  display: flex;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transition: left var(--transition-normal);
  z-index: -1;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
  left: 0;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--text-white);
  transform: translateX(5px);
}

.nav-link i {
  margin-right: var(--spacing-md);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--spacing-md);
  background: var(--primary-gradient);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
  text-decoration: none;
}

.btn-login i {
  margin-right: var(--spacing-sm);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ensure sidebar area doesn't get blocked by overlay */
.sidebar-nav.active + .sidebar-overlay {
  pointer-events: none;
}

.sidebar-nav.active + .sidebar-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 320px;
  right: 0;
  bottom: 0;
  pointer-events: auto;
}

/* ==========================================================================
   6.0 Main Content & Top Navigation
   ========================================================================== */
.main-content {
  min-height: 100vh;
  transition: margin-left var(--transition-normal);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
}

.nav-container {
  height: 100%;
  padding: 0 var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-toggle:hover {
  background-color: var(--bg-secondary);
}

.sidebar-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.nav-brand {
  flex: 1;
  text-align: center;
}

.nav-logo {
  height: 35px;
  width: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* ==========================================================================
   7.0 Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--primary-gradient);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transition: left var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transition: left var(--transition-normal);
  z-index: -1;
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-secondary:hover {
  color: var(--text-white);
  border-color: transparent;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-large {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1rem;
}

.btn-primary i,
.btn-secondary i {
  margin-right: var(--spacing-sm);
}

/* ==========================================================================
   8.0 Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: 70px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  min-height: calc(100vh - 140px);
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: var(--radius-2xl);
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  margin-right: var(--spacing-sm);
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-3xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.tech-illustration {
  position: relative;
  width: 100%;
  height: 500px;
}

.circuit-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  animation: circuitFloat 6s ease-in-out infinite;
}

.device-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 180px;
  background: var(--dark-gradient);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-xl);
  animation: deviceFloat 4s ease-in-out infinite;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.device-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: screenGlow 3s ease-in-out infinite;
}

.screen-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.app-title {
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success-color);
  animation: statusPulse 2s ease-in-out infinite;
}

.data-visualization {
  flex: 1;
  display: flex;
  align-items: end;
  gap: 4px;
  padding: var(--spacing-sm) 0;
}

.chart-bar {
  flex: 1;
  background: var(--primary-gradient);
  border-radius: 2px;
  animation: chartGrow 2s ease-out infinite alternate;
}

.floating-element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  animation: floatingElement 4s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}

.floating-element:nth-child(1) { animation-delay: 0s; }
.floating-element:nth-child(2) { animation-delay: 1s; }
.floating-element:nth-child(3) { animation-delay: 2s; }
.floating-element:nth-child(4) { animation-delay: 3s; }

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-gradient);
  opacity: 0.1;
  animation: shapeFloat 8s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 60%;
  animation-delay: 4s;
}

/* ==========================================================================
   9.0 Features Section
   ========================================================================== */
.features-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background: var(--bg-primary);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  transition: left var(--transition-normal);
  z-index: 1;
}

.feature-card:hover::before {
  left: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-white);
  font-size: 2rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-glow);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   10.0 Check Section
   ========================================================================== */
.check-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.check-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.check-form-container {
  max-width: 500px;
}

.form-header {
  margin-bottom: var(--spacing-2xl);
}

.form-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.form-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.check-form {
  margin-bottom: var(--spacing-xl);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.input-icon {
  padding: 0 var(--spacing-md);
  color: var(--text-secondary);
  font-size: 1.25rem;
}

.form-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: var(--spacing-md) 0;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-light);
}

/* Captcha Styles */
.captcha-group {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.captcha-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.captcha-image {
  position: relative;
  display: inline-block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(102, 126, 234, 0.2);
}

.captcha-image img {
  display: block;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.captcha-image img:hover {
  opacity: 0.8;
}

.captcha-refresh {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--spacing-xs);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.75rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-refresh:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-sm);
}

.captcha-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  width: 100%;
  max-width: 200px;
}

.captcha-input .form-input {
  text-align: center;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.captcha-input .form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.captcha-help {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

.btn-search {
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.btn-search:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.check-result {
  animation: fadeInUp var(--transition-normal);
}

.result-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(102, 126, 234, 0.1);
  width: 100%;
  min-height: 400px;
}

.result-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  color: var(--success-color);
}

.result-header i {
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
}

.result-header h3 {
  margin: 0;
  color: var(--success-color);
}

.result-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
  min-height: 300px;
}

@media (max-width: 768px) {
  .check-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 100%;
    padding: 0 var(--spacing-md);
  }
  
  .result-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .result-card {
    padding: var(--spacing-lg);
    min-height: auto;
  }
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.result-attachments {
  background: rgba(var(--primary-rgb), 0.02);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  height: fit-content;
  min-height: 200px;
}

.attachment-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.attachment-header i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.attachment-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  font-weight: 600;
  color: var(--text-primary);
}

.detail-item .value {
  color: var(--text-secondary);
  text-align: right;
}

.attachment-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.no-attachments {
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--text-secondary);
}

.no-attachments i {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0.5;
}

.no-attachments p {
  margin: 0;
  font-size: 0.9rem;
}

.attachment-list .item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

.attachment-list .item .icon-bg-lg {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 0.8rem;
}

.attachment-list .item h5 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  flex: 1;
}

.attachment-list .item .btn {
  padding: 4px 8px;
  font-size: 0.75rem;
  text-decoration: none;
  background: var(--success-color);
  color: white;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.attachment-list .item .btn:hover {
  background: var(--success-hover);
}

.check-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-illustration svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  animation: illustrationFloat 4s ease-in-out infinite;
}

/* ==========================================================================
   11.0 Footer
   ========================================================================== */
.footer {
  background: var(--dark-gradient);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--spacing-lg);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.link-group h4 {
  color: var(--text-white);
  margin-bottom: var(--spacing-lg);
  font-size: 1.125rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: var(--spacing-sm);
}

.link-group a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ==========================================================================
   12.0 Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes circuitFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes deviceFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}

@keyframes screenGlow {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes chartGrow {
  0% { transform: scaleY(0.5); }
  100% { transform: scaleY(1); }
}

@keyframes floatingElement {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes illustrationFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   13.0 Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }
  
  .check-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
    max-width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-container {
    padding: 0 var(--spacing-lg);
  }
  
  .sidebar-nav {
    width: 280px;
    left: -280px;
  }
  
  .tech-illustration {
    height: 300px;
  }
  
  .device-mockup {
    width: 200px;
    height: 130px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 0.875rem;
  }
  
  .nav-container {
    padding: 0 var(--spacing-md);
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero-container {
    padding: 0 var(--spacing-md);
  }
  
  .sidebar-nav {
    width: 260px;
    left: -260px;
  }
  
  .input-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-sm);
  }
  
  .btn-search {
    align-self: stretch;
    justify-content: center;
  }
}

/* ==========================================================================
   14.0 Status Badges
   ========================================================================== */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.status-active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.status-pending {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.status-inactive {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   15.0 Check Result Enhancements
   ========================================================================== */
.check-result {
  margin-top: 2rem;
  animation: slideInUp 0.5s ease-out;
}

.result-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result-header i {
  font-size: 2rem;
  color: var(--primary-color);
}

.result-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.result-details {
  display: grid;
  gap: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 120px;
}

.detail-item .value {
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  flex: 1;
}

/* ==========================================================================
   16.0 Loading States
   ========================================================================== */
.btn-search:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

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

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

/* ==========================================================================
   17.0 Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

/* ==========================================================================
   15.0 Print Styles
   ========================================================================== */
@media print {
  .sidebar-nav,
  .top-nav,
  .sidebar-overlay,
  .floating-element,
  .hero-bg {
    display: none !important;
  }
  
  .main-content {
    margin-left: 0 !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .hero-section,
  .features-section,
  .check-section {
    page-break-inside: avoid;
  }
}