/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark theme colors */
  --primary-color: #00d4ff;
  --primary-dark: #0099cc;
  --secondary-color: #1a1a2e;
  --accent-color: #ff6b6b;
  --accent-secondary: #4ecdc4;
  
  /* Background colors */
  --bg-primary: #0f0f23;
  --bg-secondary: #16213e;
  --bg-tertiary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  
  /* Text colors */
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #8892b0;
  --text-accent: #00d4ff;
  
  /* Glass morphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Shadows and effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Service type colors */
  --color-frontend: #00d4ff;
  --color-backend: #ff6b6b;
  --color-socket: #4ecdc4;
  --color-database: #ffa726;
  --color-online: #4caf50;
  --color-demo: #ff9800;
  --color-shared: #9c27b0;
  --color-iot: #2196f3;
  --color-public: #8bc34a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Enhanced Floating Navigation */
.floating-nav {
  position: fixed;
  top: 80px;     /* Distance from top */
  right: 2rem;   /* Distance from right */
  z-index: 9999;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-container {
  position: relative;
  padding: 1rem;
}

.nav-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, 
    rgba(0, 212, 255, 0.3) 0%, 
    rgba(255, 107, 107, 0.3) 25%, 
    rgba(78, 205, 196, 0.3) 50%, 
    rgba(255, 167, 38, 0.3) 75%, 
    rgba(156, 39, 176, 0.3) 100%);
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: cosmicRotate 8s linear infinite;
}

.nav-container:hover::before {
  opacity: 1;
}

@keyframes cosmicRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-wrapper {
  position: relative;
  background: rgba(15, 15, 35, 0.85);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 1.5rem 0.8rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.nav-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
  animation: particleFloat 6s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-5px) rotate(5deg); }
}

.nav-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  text-decoration: none;
  color: #8892b0;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, #00d4ff, #4ecdc4);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translate(-50%, -50%);
  z-index: -1;
}

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

.nav-item:hover {
  transform: scale(1.15) rotate(5deg);
  color: white;
  box-shadow: 
    0 15px 35px rgba(0, 212, 255, 0.4),
    0 0 25px rgba(0, 212, 255, 0.3);
}

.nav-item.active {
  background: linear-gradient(135deg, #00d4ff, #4ecdc4);
  color: white;
  transform: scale(1.1);
  box-shadow: 
    0 10px 25px rgba(0, 212, 255, 0.4),
    0 0 15px rgba(0, 212, 255, 0.3);
}

.nav-icon {
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Tooltip */
.nav-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 1000;
}

.nav-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.9);
}

.nav-item:hover .nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-10px);
}

/* Pulse Animation for Active Item */
@keyframes activePulse {
  0%, 100% { 
    box-shadow: 
      0 10px 25px rgba(0, 212, 255, 0.4),
      0 0 15px rgba(0, 212, 255, 0.3);
  }
  50% { 
    box-shadow: 
      0 15px 35px rgba(0, 212, 255, 0.6),
      0 0 25px rgba(0, 212, 255, 0.5);
  }
}

.nav-item.active {
  animation: activePulse 2s ease-in-out infinite;
}

/* Sparkle Effect */
.nav-item::after {
  content: '✨';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.8rem;
  opacity: 0;
  animation: sparkle 0.6s ease-in-out;
  pointer-events: none;
}

.nav-item:hover::after {
  animation: sparkle 0.6s ease-in-out;
}

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
  100% { opacity: 0; transform: scale(0) rotate(360deg); }
}

/* Intro Section */
.intro-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
}

.intro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.intro-content {
  text-align: left;
}

.intro-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.loading-container {
  margin-bottom: 3rem;
  transition: var(--transition-slow);
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
}

.loading-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loading-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-accent);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-slow);
  cursor: pointer;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Hexagon Grid */
.intro-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hexagon-grid {
  position: relative;
  width: 400px;
  height: 400px;
}

.hexagon {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: hexFloat 6s ease-in-out infinite;
}

.hex-1 { top: 50px; left: 160px; animation-delay: 0s; }
.hex-2 { top: 120px; left: 100px; animation-delay: 1s; }
.hex-3 { top: 120px; left: 220px; animation-delay: 2s; }
.hex-4 { top: 190px; left: 160px; animation-delay: 3s; }
.hex-5 { top: 260px; left: 100px; animation-delay: 4s; }
.hex-6 { top: 260px; left: 220px; animation-delay: 5s; }

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

/* Dashboard Section */
.dashboard-section {
  min-height: 100vh;
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.dashboard-header.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Card Groups */
.card-group {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.card-group.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.group-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.group-icon {
  font-size: 1.8rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
}

/* Service Cards */
.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.card-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-status {
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.online {
  background: rgba(76, 175, 80, 0.2);
  color: var(--color-online);
  border: 1px solid var(--color-online);
}

.status-badge.demo {
  background: rgba(255, 152, 0, 0.2);
  color: var(--color-demo);
  border: 1px solid var(--color-demo);
}

.status-badge.shared {
  background: rgba(156, 39, 176, 0.2);
  color: var(--color-shared);
  border: 1px solid var(--color-shared);
}

.status-badge.iot {
  background: rgba(33, 150, 243, 0.2);
  color: var(--color-iot);
  border: 1px solid var(--color-iot);
}

.status-badge.public {
  background: rgba(139, 195, 74, 0.2);
  color: var(--color-public);
  border: 1px solid var(--color-public);
}

.card-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Service Endpoints */
.service-endpoints {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.endpoint-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.endpoint-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.endpoint-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.endpoint-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.endpoint-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;
}

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

.endpoint-btn.frontend {
  background: linear-gradient(135deg, var(--color-frontend), rgba(0, 212, 255, 0.8));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
}

.endpoint-btn.frontend:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.endpoint-btn.backend {
  background: linear-gradient(135deg, var(--color-backend), rgba(255, 107, 107, 0.8));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.endpoint-btn.backend:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.endpoint-btn.socket {
  background: linear-gradient(135deg, var(--color-socket), rgba(78, 205, 196, 0.8));
  color: white;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.endpoint-btn.socket:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.endpoint-btn.database {
  background: linear-gradient(135deg, var(--color-database), rgba(255, 167, 38, 0.8));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
}

.endpoint-btn.database:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 167, 38, 0.4);
}

.btn-icon {
  font-size: 1rem;
}

.btn-arrow {
  font-size: 1.2rem;
  font-weight: bold;
  transition: var(--transition-fast);
}

.endpoint-btn.frontend:hover .btn-arrow {
  transform: translateX(4px);
}

/* Legacy card buttons for DevOps tools */
.card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

.card-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-secondary));
  color: white;
  box-shadow: var(--shadow-md);
}

.card-btn.primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.card-btn.secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.card-btn.secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-description {
  color: var(--text-secondary);
  font-size: 1rem;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.manager-info h4 {
  color: var(--text-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.manager-name {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.1rem;
}

.company-info {
  text-align: right;
}

.company-name {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feedback-button {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
}

.btn-feedback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-normal);
  font-weight: 500;
}

.btn-feedback:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .intro-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hexagon-grid {
    width: 300px;
    height: 300px;
  }
  
  .hexagon {
    width: 60px;
    height: 60px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .floating-nav {
    right: 1rem;
  }
  .nav-tooltip {
    right: 65px;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  .nav-item {
    width: 50px;
    height: 50px;
  }
  .nav-icon {
    font-size: 1.2rem;
  }

  
  .intro-section {
    padding: 4rem 1rem;
  }
  
  .dashboard-section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .company-info {
    text-align: left;
  }
  
  .feedback-button {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: center;
    margin-top: 2rem;
  }
  
  .endpoint-buttons {
    flex-direction: column;
  }
  
  .endpoint-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .intro-title {
    font-size: 2rem;
  }
  
  .intro-subtext {
    font-size: 1rem;
  }
  
  .dashboard-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .service-status {
    align-self: flex-end;
  }
}

/* Animation delays for staggered entrance */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

/* Scroll reveal animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}