/* Modern CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --border-color: #334155;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.375rem 0;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  position: absolute;
  left: 2rem;
}

.logo-link:hover {
  transform: scale(1.05);
}

.site-logo {
  height: 90px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    padding: 0 1rem;
  }
  
  .logo-link {
    position: static;
    left: auto;
  }
  
  nav {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  
  .site-logo {
    height: 45px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.75rem;
    gap: 0.375rem;
  }
  
  .site-logo {
    height: 40px;
    max-width: 140px;
  }
  
  nav {
    gap: 0.25rem;
    padding: 0;
  }
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  font-size: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--primary-color);
}

.banner {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: blur(2px);
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-text {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.cta-button.secondary:hover {
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* Floating Shapes Animation */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
    opacity: 0.5;
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
    opacity: 0.4;
  }
}

/* Service Status Widget */
.status-widget-section {
  padding: 3rem 2rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.status-widget-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.status-widget-container:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.status-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.status-widget-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-widget-header h2 i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.status-widget-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.status-widget-link:hover {
  color: var(--primary-color);
  gap: 0.75rem;
}

.status-widget-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.status-widget-link:hover i {
  transform: translate(2px, -2px);
}

.status-content {
  margin-top: 1rem;
}

.status-card-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.status-card-link * {
  text-decoration: none !important;
}

.status-card-link a,
.status-card-link h3,
.status-card-link p,
.status-card-link span {
  text-decoration: none !important;
  border-bottom: none !important;
}

.status-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.status-card-link:hover .status-card {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.status-service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.status-service-info h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.status-service-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-direction: row-reverse;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.status-dot.down {
  background: var(--danger);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.status-dot.maintenance {
  background: var(--warning);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.status-text {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.status-service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0;
  text-decoration: none;
}

.status-note i {
  color: var(--primary-color);
  font-size: 0.875rem;
}

.status-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  pointer-events: none;
  text-decoration: none;
}

.status-card-link:hover .status-view-btn {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  gap: 0.75rem;
}

.status-view-btn i {
  transition: transform 0.3s ease;
}

.status-card-link:hover .status-view-btn i {
  transform: translateX(4px);
}

/* Stats Section */
.stats-section {
  padding: 4rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-dark);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  background: var(--bg-dark);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

/* Services Section */
.services-section {
  padding: 6rem 2rem;
  background: var(--bg-card);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-status {
  margin-top: 1rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-dark);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.services-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cta-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.cta-link:hover {
  color: var(--secondary-color);
  gap: 1rem;
}

.cta-link i {
  transition: transform 0.3s ease;
}

.cta-link:hover i {
  transform: translateX(5px);
}

/* About Page Styles */
.about-content {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.about-card:hover::before {
  transform: scaleY(1);
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.2);
}

.about-card.highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-color: var(--primary-color);
}

.about-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.about-card:hover .about-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.about-card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.about-cta {
  margin-top: 1.5rem;
}

.about-footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.thank-you {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-footer {
    padding: 2rem 1.5rem;
  }

  .thank-you {
    font-size: 1.25rem;
  }
}

/* Access Page Styles */
.access-content {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.access-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.access-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.access-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.access-card:hover::before {
  transform: scaleX(1);
}

.access-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.2);
}

.access-card.highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-color: var(--primary-color);
}

.access-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.access-card:hover .access-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.access-card h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.access-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.access-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: inherit;
}

.access-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.access-button i {
  font-size: 1rem;
}

.access-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.15);
}

.info-item i {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.info-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 768px) {
  .access-card {
    padding: 2rem 1.5rem;
  }

  .access-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .access-card {
    padding: 1.5rem 1rem;
  }

  .access-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.2), 0 10px 10px -5px rgba(99, 102, 241, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.service-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 1rem 0;
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  margin-top: 4rem;
}

/* Feedback Button */
#feedback-button-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

#feedback-button {
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
}

#feedback-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.5);
}

/* Feedback Form */
.feedback-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
}

.feedback-form-overlay.active {
  opacity: 1;
  visibility: visible;
}

.feedback-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.feedback-form-overlay.active .feedback-form-container {
  transform: scale(1) translateY(0);
}

.feedback-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.feedback-form-header h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feedback-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-close-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  transform: rotate(90deg);
}

.feedback-form-body {
  padding: 2rem;
}

.feedback-instruction {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.1);
  border-left: 3px solid var(--primary-color);
  border-radius: 8px;
  line-height: 1.6;
}

#feedback-text {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 150px;
  transition: all 0.3s ease;
}

#feedback-text:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: rgba(15, 23, 42, 0.8);
}

#feedback-text::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.feedback-form-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
}

.feedback-submit-btn,
.feedback-cancel-btn {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.feedback-submit-btn {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.feedback-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.4);
}

.feedback-submit-btn:active {
  transform: translateY(0);
}

.feedback-cancel-btn {
  background: var(--bg-dark);
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
}

.feedback-cancel-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    gap: 0.375rem;
    padding: 0 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-height: 40px;
    flex: 1 1 auto;
    min-width: 70px;
  }

  /* Hero Section */
  .hero {
    min-height: 50vh;
    padding: 2rem 1rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .header-text {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px;
  }

  /* Sections */
  .services-grid,
  .features-grid,
  .stats-container {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 1.5rem;
  }

  .stats-section,
  .features-section,
  .services-section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 2rem;
  }

  /* Cards */
  .stat-item,
  .feature-card,
  .service-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.25rem;
  }

  /* About Page */
  .about-content {
    padding: 2.5rem 1rem;
  }

  .about-container {
    gap: 1.5rem;
  }

  .about-card {
    padding: 2rem 1.5rem;
  }

  .about-card h2 {
    font-size: 1.5rem;
  }

  .about-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  /* Access Page */
  .access-content {
    padding: 2.5rem 1rem;
  }

  .access-card {
    padding: 2rem 1.5rem;
  }

  .access-card h2 {
    font-size: 1.75rem;
  }

  .access-card p {
    font-size: 1rem;
  }

  .access-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .access-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-item {
    padding: 1.25rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Feedback Form */
  .feedback-form-container {
    max-width: 95vw;
    margin: 0.5rem;
    max-height: 95vh;
  }

  .feedback-form-header {
    padding: 1.5rem 1.25rem 1rem;
  }

  .feedback-form-header h3 {
    font-size: 1.5rem;
  }

  .feedback-form-body {
    padding: 1.5rem 1.25rem;
  }

  .feedback-form-footer {
    padding: 1rem 1.25rem 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .feedback-submit-btn,
  .feedback-cancel-btn {
    width: 100%;
    min-height: 48px;
    padding: 1rem;
  }

  #feedback-text {
    min-height: 120px;
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Feedback Button */
  #feedback-button-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    right: auto;
    width: calc(100% - 2rem);
  }

  #feedback-button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
    border-radius: 12px;
  }

  /* Status Widget */
  .status-widget-section {
    padding: 2rem 1rem;
  }

  .status-widget-container {
    padding: 1.25rem;
  }

  .status-widget-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .status-widget-header h2 {
    font-size: 1.25rem;
  }

  .status-widget-link {
    width: 100%;
    justify-content: flex-start;
  }

  .status-service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .status-service-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .status-view-btn {
    width: 100%;
    justify-content: center;
  }

  /* Floating Shapes - Reduce on mobile */
  .shape-1 {
    width: 150px;
    height: 150px;
  }

  .shape-2 {
    width: 100px;
    height: 100px;
  }

  .shape-3 {
    width: 80px;
    height: 80px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  /* Navigation */
  nav {
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    min-width: 65px;
    min-height: 36px;
  }

  /* Hero */
  .hero {
    min-height: 45vh;
    padding: 1.5rem 0.75rem;
  }

  .header-text {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  /* Sections */
  .stats-section,
  .features-section,
  .services-section {
    padding: 2rem 0.75rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
    margin-bottom: 1.5rem;
  }

  /* Cards */
  .stat-item,
  .feature-card,
  .service-card,
  .about-card,
  .access-card {
    padding: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-card h3,
  .about-card h2 {
    font-size: 1.125rem;
  }

  .access-card h2 {
    font-size: 1.5rem;
  }

  /* Content Pages */
  .about-content,
  .access-content {
    padding: 2rem 0.75rem;
  }

  /* Buttons */
  .cta-button,
  .access-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Feedback */
  .feedback-form-container {
    margin: 0.25rem;
    border-radius: 16px;
  }

  .feedback-form-header,
  .feedback-form-body,
  .feedback-form-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .feedback-form-header h3 {
    font-size: 1.25rem;
  }

  #feedback-button-container {
    bottom: 0.75rem;
    left: 0.75rem;
    width: calc(100% - 1.5rem);
  }

  /* Status Widget */
  .status-widget-section {
    padding: 1.5rem 0.75rem;
  }

  .status-widget-container {
    padding: 1rem;
  }

  .status-widget-header h2 {
    font-size: 1.1rem;
  }

  .status-widget-link {
    font-size: 0.85rem;
  }

  .status-card {
    padding: 1.25rem;
  }

  .status-service-info h3 {
    font-size: 1.1rem;
  }

  .status-view-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .nav-link,
  .cta-button,
  .access-button,
  .feedback-submit-btn,
  .feedback-cancel-btn,
  #feedback-button {
    min-height: 44px;
  }

  /* Remove hover effects on touch devices */
  .nav-link:hover,
  .cta-button:hover,
  .access-button:hover {
    transform: none;
  }

  /* Improve tap feedback */
  .nav-link:active,
  .cta-button:active,
  .access-button:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 40vh;
    padding: 1.5rem 1rem;
  }

  .header-text {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .cta-button {
    width: auto;
    flex: 0 1 auto;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

