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

:root {
  --primary-color: #f57336;
  --primary-light: #f0e5e1;
  --primary-dark: #000000;
  --ripple: #f79567;
  --secondary-color: #198754;
  --accent-color: #fd7e14;
  --danger-color: #ba1a1a;
  --warning-color: #ffc107;
  --neon-blue: #00f5ff;
  --neon-purple: #bf00ff;
  --neon-green: #39ff14;

  --text-primary: #000000;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;

  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #111827;
  --bg-gradient: linear-gradient(135deg, #f57336 0%, #f79567 100%);
  --bg-gradient-2: linear-gradient(135deg, #f57336 0%, #fd7e14 100%);
  --bg-gradient-hero: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #f57336 100%
  );
  --bg-gradient-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  --bg-gradient-glow: radial-gradient(
    circle at 50% 50%,
    rgba(245, 115, 54, 0.3) 0%,
    transparent 70%
  );

  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(245, 115, 54, 0.3);
  --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --backdrop-blur: blur(20px);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f57336 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient-glow);
  opacity: 0.1;
  z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.875rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, #f5f5dc 0%, #ffcccb 50%, #ffa07a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-bounce);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--backdrop-blur);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

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

.btn-primary {
  background: var(--bg-gradient);
  color: white;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--glass-border);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-glow), var(--shadow-neon);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-glass);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure navbar is white from initial load */
.navbar,
.navbar:before,
.navbar:after {
  background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(245, 115, 54, 0.02) 0%,
    rgba(247, 149, 103, 0.02) 50%,
    rgba(245, 115, 54, 0.02) 100%
  );
  z-index: -1;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-logo i {
  font-size: 2rem;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.powered-text {
  font-size: 0.7rem;
  color: var(--text-light);
}

.nimbus-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-gradient-hero);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(245, 115, 54, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 245, 255, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(191, 0, 255, 0.2) 0%,
      transparent 50%
    );
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  z-index: 1;
  opacity: 0.3;
}

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

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(0, 245, 255, 0.1)
  );
  animation: float 8s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 8%;
  animation:
    float 8s ease-in-out infinite,
    glow 4s ease-in-out infinite alternate;
  background: linear-gradient(
    135deg,
    rgba(245, 115, 54, 0.3),
    rgba(247, 149, 103, 0.2)
  );
}

.shape-2 {
  width: 180px;
  height: 180px;
  top: 55%;
  right: 8%;
  animation:
    float 10s ease-in-out infinite 2s,
    glow 6s ease-in-out infinite alternate 1s;
  background: linear-gradient(
    135deg,
    rgba(0, 245, 255, 0.3),
    rgba(102, 126, 234, 0.2)
  );
}

.shape-3 {
  width: 90px;
  height: 90px;
  top: 75%;
  left: 15%;
  animation:
    float 7s ease-in-out infinite 4s,
    glow 5s ease-in-out infinite alternate 2s;
  background: linear-gradient(
    135deg,
    rgba(191, 0, 255, 0.3),
    rgba(118, 75, 162, 0.2)
  );
}

.shape-4 {
  width: 140px;
  height: 140px;
  top: 25%;
  right: 25%;
  animation:
    float 9s ease-in-out infinite 1s,
    glow 7s ease-in-out infinite alternate;
  background: linear-gradient(
    135deg,
    rgba(57, 255, 20, 0.3),
    rgba(25, 135, 84, 0.2)
  );
}

.shape-5 {
  width: 70px;
  height: 70px;
  top: 40%;
  left: 5%;
  animation:
    float 6s ease-in-out infinite 3s,
    glow 4s ease-in-out infinite alternate 1.5s;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.3),
    rgba(253, 126, 20, 0.2)
  );
}

.shape-6 {
  width: 110px;
  height: 110px;
  top: 10%;
  right: 5%;
  animation:
    float 11s ease-in-out infinite 2.5s,
    glow 6s ease-in-out infinite alternate 0.5s;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(245, 115, 54, 0.1)
  );
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(-15px) rotate(240deg) scale(0.9);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    filter: brightness(1);
  }
  100% {
    box-shadow: 0 8px 60px rgba(245, 115, 54, 0.4);
    filter: brightness(1.3);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 100px);
  padding: 4rem 0 2rem 0;
  padding-top: 6rem;
}

.hero-text {
  position: relative;
  z-index: 11;
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
  word-wrap: break-word;
  hyphens: none;
}

.pqc-container {
  margin-bottom: 1rem;
}

.pqc-badge-small {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--neon-green)
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Certificate Dashboard */
.certificate-dashboard {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  border-radius: var(--border-radius-2xl);
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
}

.certificate-dashboard::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(245, 115, 54, 0.1) 45deg,
    transparent 90deg,
    rgba(0, 245, 255, 0.1) 135deg,
    transparent 180deg,
    rgba(191, 0, 255, 0.1) 225deg,
    transparent 270deg,
    rgba(245, 115, 54, 0.1) 315deg,
    transparent 360deg
  );
  animation: rotate 20s linear infinite;
  z-index: -1;
}

.certificate-dashboard:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glass), var(--shadow-glow), var(--shadow-neon);
}

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

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: white;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  animation: pulse 2s infinite;
}

.status-indicator.warning {
  background: var(--warning-color);
}

.status-indicator.active {
  background: var(--secondary-color);
}

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

.dashboard-content {
  display: grid;
  gap: 1rem;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--backdrop-blur);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.metric-card::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.8s;
}

.metric-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    var(--shadow-glass),
    0 0 30px rgba(245, 115, 54, 0.3);
}

.metric-card:hover::before {
  left: 100%;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.metric-icon.warning {
  background: rgba(249, 115, 22, 0.3);
  color: #f97316;
}

.metric-icon.success {
  background: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.metric-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.metric-info p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
  color: white;
}

/* SSL Checker in Dashboard */
.dashboard-ssl-checker {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ssl-checker-input {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ssl-url-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}

.ssl-url-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.ssl-url-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(245, 115, 54, 0.3);
}

.ssl-check-btn {
  padding: 0.875rem 1.5rem;
  background: var(--bg-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.ssl-check-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 115, 54, 0.4);
}

.ssl-checker-hint {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.ssl-checker-hint i {
  color: var(--primary-color);
}

/* Honest Certificate Checker Styles */
.honest-results {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.limitation-notice {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid #ffc107;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.notice-header i {
  font-size: 2rem;
  color: #856404;
}

.notice-header h3 {
  color: #856404;
  margin: 0;
  font-size: 1.5rem;
}

.notice-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.notice-content li {
  margin: 0.5rem 0;
  line-height: 1.4;
}

.real-cert-info {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
  border-left: 4px solid #28a745;
}

.real-cert-info strong {
  color: #155724;
  display: block;
  margin-bottom: 0.5rem;
}

.connection-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-item label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.detail-item value.success {
  color: var(--secondary-color);
}

.error-details {
  background: rgba(239, 68, 68, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--danger-color);
}

.cors-blocked {
  background: rgba(255, 193, 7, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--warning-color);
}

.headers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.header-item.present {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.header-item.missing {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.header-name {
  font-weight: 600;
  color: var(--text-primary);
}

.header-value {
  font-family: monospace;
  font-size: 0.875rem;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recommendation {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.recommendation strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.recommendation code {
  background: var(--bg-dark);
  color: #39ff14;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.875rem;
}

.status-badge.success {
  background: var(--secondary-color);
  color: white;
}

.status-badge.error {
  background: var(--danger-color);
  color: white;
}

.status-badge.warning {
  background: var(--warning-color);
  color: white;
}

/* Mobile responsiveness for honest checker */
@media (max-width: 768px) {
  .connection-details {
    grid-template-columns: 1fr;
  }

  .header-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .header-value {
    max-width: 100%;
  }

  .limitation-notice {
    padding: 1.5rem;
  }

  .notice-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Warning Section */
.warning-section {
  background: linear-gradient(
    90deg,
    white 50%,
    linear-gradient(135deg, #f0e5e1 0%, #f79567 100%) 50%
  );
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.warning-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 193, 7, 0.1) 50%
  );
  z-index: 1;
}

.warning-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-2xl);
  border: 2px solid var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.warning-icon {
  font-size: 4rem;
  color: var(--warning-color);
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.5));
  animation: pulse 2s ease-in-out infinite;
}

.warning-text h2 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 800;
}

.warning-text p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.feature-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.8)
  );
  backdrop-filter: var(--backdrop-blur);
  padding: 2rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-bounce);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(245, 115, 54, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
}

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

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Solutions Section */
.solutions {
  padding: 6rem 0;
  background: white;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  text-align: center;
}

.solution-item:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: var(--shadow-lg);
}

.solution-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

/* Team Section */
.team-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

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

.team-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
}

.team-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(245, 115, 54, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(247, 149, 103, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 4rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-header {
  margin-bottom: 3rem;
}

.contact-logo {
  height: 80px;
  width: auto;
  margin-bottom: 2rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.contact-btn {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: var(--shadow-glow);
  }
  50% {
    box-shadow:
      var(--shadow-glow),
      0 0 40px rgba(245, 115, 54, 0.5);
    transform: translateY(-2px) scale(1.02);
  }
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--primary-color);
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-nimbus-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .pqc-badge-small {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .warning-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    margin: 0 1rem;
  }

  .warning-icon {
    font-size: 3rem;
  }

  .warning-text h2 {
    font-size: 1.5rem;
  }

  .warning-section {
    background: white;
  }

  .warning-section::before {
    background: rgba(255, 255, 255, 0.9);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    min-height: 250px;
    aspect-ratio: 1.1;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-logo {
    flex-direction: row;
    gap: 1rem;
  }

  .powered-by {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0;
    margin-left: 0.5rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-logo {
    height: 60px;
  }

  .contact-info h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Advanced Animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes morphing {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

@keyframes floatingParticles {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.morphing-shape {
  animation: morphing 8s ease-in-out infinite;
}

.shimmer-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Glassmorphism utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.neon-border {
  position: relative;
}

.neon-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00f5ff, #bf00ff, #39ff14, #f57336);
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  animation: gradientShift 4s ease infinite;
}

/* Enhanced scroll animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Certificate Checker Styles */
.checker-header {
  padding: 8rem 0 4rem;
  background: var(--bg-gradient-hero);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.checker-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(245, 115, 54, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 245, 255, 0.2) 0%,
      transparent 50%
    );
  z-index: 1;
}

.checker-header-content {
  position: relative;
  z-index: 2;
}

.checker-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  position: relative;
}

.checker-icon i:first-child {
  color: var(--neon-blue);
  margin-right: 1rem;
}

.checker-icon i:last-child {
  color: var(--warning-color);
}

.checker-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.checker-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

.checker-form-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.checker-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.certificate-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-xl);
  margin-bottom: 3rem;
}

.input-container {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.25rem;
  z-index: 2;
}

.url-input {
  flex: 1;
  padding: 1.25rem 1.5rem 1.25rem 4rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  font-size: 1.125rem;
  transition: var(--transition);
  background: white;
}

.url-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 115, 54, 0.1);
}

.check-btn {
  padding: 1.25rem 2rem;
  background: var(--bg-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-hint {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-examples {
  text-align: center;
}

.quick-examples h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.example-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.example-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.example-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.error-notification {
  background: #fee;
  color: #c53030;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid #fbb;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease;
}

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

/* CryptoOne Logo and Icon Styles */
.logo-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(245, 115, 54, 0.3));
  transition: var(--transition);
}

.logo-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(245, 115, 54, 0.5));
}

.metric-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(1.2) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.team-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: var(--transition);
}

.team-icon:hover .team-icon-img {
  transform: scale(1.1);
  filter: brightness(1.3) drop-shadow(0 4px 8px rgba(245, 115, 54, 0.4));
}

.footer-logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  filter: brightness(1.2) drop-shadow(0 1px 2px rgba(245, 115, 54, 0.3));
}

/* Results Section */
.results-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.results-header {
  margin-bottom: 3rem;
}

.result-status {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.status-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-status.valid .status-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.status-info h2 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.analyzed-url {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  word-break: break-all;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

.status-badge.good {
  background: #dcfce7;
  color: #166534;
}

.status-badge.warning {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.critical {
  background: #fee2e2;
  color: #991b1b;
}

.status-badge.expired {
  background: #fecaca;
  color: #7f1d1d;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.result-card {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.card-header {
  background: linear-gradient(135deg, var(--bg-secondary), white);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h3 {
  margin: 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-header i {
  color: var(--primary-color);
}

.security-grade {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.125rem;
}

.security-grade.grade-a-plus {
  background: #dcfce7;
  color: #166534;
}

.card-content {
  padding: 2rem;
}

.cert-info-grid {
  display: grid;
  gap: 1.5rem;
}

.cert-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.cert-info-item label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.cert-info-item value {
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

.cert-info-item value.warning {
  color: var(--warning-color);
}

.cert-info-item value.critical {
  color: var(--danger-color);
}

.monospace {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875rem;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
}

.security-feature.good {
  background: #dcfce7;
  color: #166534;
}

.security-feature.warning {
  background: #fef3c7;
  color: #92400e;
}

.security-feature.info {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.certificate-chain {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chain-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.chain-item.valid {
  border-color: #10b981;
  background: #f0fdf4;
}

.chain-level {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.chain-details {
  flex: 1;
}

.chain-subject {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.chain-issuer {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.chain-status i {
  font-size: 1.5rem;
  color: #10b981;
}

.san-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.san-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.san-item i {
  color: #10b981;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.detail-item label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.results-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Preview */
.features-preview {
  padding: 6rem 0;
  background: white;
}

.feature-preview-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  background: var(--bg-secondary);
  transition: var(--transition);
}

.feature-preview-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: var(--shadow-lg);
}

.feature-preview-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
}

.feature-preview-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Checker CTA */
.checker-cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, white 0%, rgba(245, 115, 54, 0.1) 100%);
  color: var(--text-primary);
  text-align: center;
  position: relative;
}

.checker-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  opacity: 0.9;
  z-index: 1;
}

.checker-cta-section .cta-content {
  position: relative;
  z-index: 2;
}

.checker-cta-section .cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 800;
}

.checker-cta-section .cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(245, 115, 54, 0.2);
  transition: var(--transition);
}

.cta-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 115, 54, 0.3);
}

.cta-feature i {
  color: var(--primary-color);
}

.cta-feature span {
  color: var(--text-primary);
  font-weight: 600;
}

/* Security Checker Types */
.checker-types {
  margin-bottom: 3rem;
  text-align: center;
}

.checker-types h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 600;
}

.checker-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.checker-type-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.checker-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 115, 54, 0.1),
    transparent
  );
  transition: left 0.6s;
}

.checker-type-card:hover::before {
  left: 100%;
}

.checker-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.checker-type-card.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, white 0%, rgba(245, 115, 54, 0.05) 100%);
  box-shadow: 0 4px 15px rgba(245, 115, 54, 0.2);
}

.checker-type-card.active .checker-type-icon {
  background: var(--bg-gradient);
  color: white;
  transform: scale(1.1);
}

.checker-type-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.checker-type-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.checker-type-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Update form spacing */
.certificate-form {
  margin-top: 1rem;
}

/* Responsive Certificate Checker */
@media (max-width: 768px) {
  .checker-title {
    font-size: 2.5rem;
  }

  .checker-type-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checker-type-card {
    padding: 1.5rem 1rem;
  }

  .checker-type-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .input-container {
    flex-direction: column;
  }
}

/* HSTS/Security Headers Results */
.header-list, .header-item {
  margin-bottom: 1rem;
}

.header-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--border-color);
}

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

.header-value.present {
  color: var(--secondary-color);
  font-family: monospace;
  font-size: 0.875rem;
}

.header-value.missing {
  color: var(--danger-color);
  font-style: italic;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.config-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.config-item label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.config-item value {
  color: var(--text-primary);
  font-size: 1rem;
}

.warning-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--warning-color);
  border-radius: var(--border-radius);
  color: #856404;
}

.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.recommendation-item i {
  color: var(--secondary-color);
  margin-top: 0.125rem;
}

/* TLS Results */
.protocol-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.protocol-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.protocol-item.supported {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.protocol-item.disabled {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.protocol-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.protocol-item.supported .protocol-name {
  color: var(--secondary-color);
}

.protocol-item.disabled .protocol-name {
  color: var(--danger-color);
}

.protocol-grade {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
}

.grade-a\+ , .grade-a {
  background: var(--secondary-color);
  color: white;
}

.grade-b {
  background: var(--warning-color);
  color: white;
}

.grade-f {
  background: var(--danger-color);
  color: white;
}

.cipher-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cipher-item {
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.cipher-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: monospace;
  font-size: 0.9rem;
}

.cipher-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cipher-details span {
  padding: 0.25rem 0.5rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cipher-kx {
  background: rgba(99, 102, 241, 0.2);
  color: #4f46e5;
}

.cipher-strength {
  background: rgba(245, 115, 54, 0.2);
  color: var(--primary-color);
}

.cipher-security.secure {
  background: rgba(16, 185, 129, 0.2);
  color: var(--secondary-color);
}

.cipher-security.weak {
  background: rgba(255, 193, 7, 0.2);
  color: #d97706;
}

/* Removed duplicate features-grid definition to prevent conflicts */

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.feature-status.enabled {
  color: var(--secondary-color);
}

.feature-status.disabled {
  color: var(--danger-color);
}

.feature-name {
  font-weight: 600;
  color: var(--text-primary);
}

/* Redirect Results */
.redirect-chain {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.redirect-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  position: relative;
}

.redirect-step.secure {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.redirect-step.insecure {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-details {
  flex: 1;
}

.step-url {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.9rem;
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-code {
  padding: 0.25rem 0.5rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.75rem;
}

.status-2xx {
  background: var(--secondary-color);
  color: white;
}

.status-3xx {
  background: var(--warning-color);
  color: white;
}

.status-4xx, .status-5xx {
  background: var(--danger-color);
  color: white;
}

.redirect-type {
  background: rgba(99, 102, 241, 0.2);
  color: #4f46e5;
  padding: 0.25rem 0.5rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.secure-icon {
  color: var(--secondary-color);
}

.insecure-icon {
  color: var(--danger-color);
}

.redirect-arrow {
  display: flex;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
}

.security-checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.security-check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.check-status.passed {
  color: var(--secondary-color);
}

.check-status.failed {
  color: var(--danger-color);
}

.check-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
}

.check-result {
  font-weight: 600;
  font-size: 0.875rem;
}

.security-check-item .check-status.passed + .check-name + .check-result {
  color: var(--secondary-color);
}

.security-check-item .check-status.failed + .check-name + .check-result {
  color: var(--danger-color);
}

/* Enhanced SSL Certificate Results */
.analyzed-domain h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.analyzed-url {
  font-family: monospace;
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.detail-section h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.detail-section h5 i {
  color: var(--primary-color);
}

.validity-section h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.validity-timeline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.validity-point {
  text-align: center;
  flex: 0 0 150px;
}

.validity-date {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.validity-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.validity-bar {
  flex: 1;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.validity-progress {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.validity-bar.good .validity-progress {
  background: linear-gradient(90deg, var(--secondary-color), var(--neon-green));
}

.validity-bar.warning .validity-progress {
  background: linear-gradient(90deg, var(--warning-color), #f97316);
}

.validity-bar.critical .validity-progress,
.validity-bar.expired .validity-progress {
  background: linear-gradient(90deg, var(--danger-color), #dc2626);
}

.validity-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
}

.validity-status.good {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.validity-status.warning {
  background: rgba(255, 193, 7, 0.1);
  color: #d97706;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.validity-status.critical,
.validity-status.expired {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.security-grade {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.1rem;
}

.grade-aplus {
  background: linear-gradient(135deg, var(--secondary-color), var(--neon-green));
  color: white;
}

.grade-a {
  background: var(--secondary-color);
  color: white;
}

.grade-b {
  background: var(--warning-color);
  color: white;
}

.security-features .feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.security-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.security-features .feature-item.enabled {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.security-features .feature-item.disabled {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.security-features .feature-item i {
  font-size: 1.25rem;
}

.security-features .feature-item.enabled i {
  color: var(--secondary-color);
}

.security-features .feature-item.disabled i {
  color: var(--danger-color);
}

.security-features .feature-item span {
  font-weight: 600;
  flex: 1;
}

.feature-status {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
}

.feature-item.enabled .feature-status {
  background: var(--secondary-color);
  color: white;
}

.feature-item.disabled .feature-status {
  background: var(--danger-color);
  color: white;
}

.crypto-details h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.crypto-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.crypto-item label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

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

.chain-san-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.chain-section h5,
.san-section h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.cert-chain {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chain-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.chain-item.valid {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.chain-item.invalid {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.chain-icon i {
  font-size: 1.25rem;
}

.chain-item.valid .chain-icon i {
  color: var(--secondary-color);
}

.chain-item.invalid .chain-icon i {
  color: var(--danger-color);
}

.chain-info {
  flex: 1;
}

.chain-level {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.chain-subject {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.chain-issuer {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.san-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.san-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--border-radius);
  font-family: monospace;
  font-size: 0.9rem;
}

.san-item i {
  color: var(--secondary-color);
}

/* Enhanced button styles */
.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
}

.btn.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .chain-san-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .security-features .feature-row {
    grid-template-columns: 1fr;
  }

  .validity-timeline {
    flex-direction: column;
    gap: 0.5rem;
  }

  .validity-point {
    flex: none;
  }

  .validity-bar {
    width: 100%;
    order: 3;
  }
}

  .url-input {
    padding-left: 4rem;
  }

  .check-btn {
    justify-content: center;
  }

  .example-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .cert-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cert-info-item value {
    text-align: left;
  }

  .result-status {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .chain-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
  }
}

/* Enhanced Certificate Results Styles */
.certificate-overview {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
  border: 2px solid var(--primary-color);
}

.cert-summary {
  padding: 1rem 0;
}

.cert-domain h5 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.cert-type {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cert-validity-visual {
  margin-top: 2rem;
}

.validity-timeline {
  margin-bottom: 1rem;
}

.timeline-track {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  position: relative;
  margin-bottom: 1rem;
}

.timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--warning-color));
  border-radius: 4px;
  transition: width 0.6s ease;
}

.timeline-marker {
  position: absolute;
  top: -8px;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border: 3px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.timeline-marker.current {
  background: var(--warning-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 2px 8px rgba(255, 193, 7, 0.6); }
  100% { box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
}

.marker-label {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.validity-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.days-remaining {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--warning-color);
}

.validity-percentage {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f4;
}

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

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

.detail-row span {
  color: var(--text-primary);
  text-align: right;
  word-break: break-word;
}

.issuer-name {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.serial-number {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--text-secondary) !important;
}

.crypto-strong {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.validation-dv {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.chain-card {
  grid-column: 1 / -1;
}

.certificate-chain {
  padding: 1rem 0;
}

.chain-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.chain-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.chain-root {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.chain-intermediate {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.chain-end {
  background: linear-gradient(135deg, var(--primary-color), #dc2626);
  color: white;
}

.chain-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.25rem;
}

.chain-details h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.chain-type {
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: 600;
}

.chain-status {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.chain-connector {
  width: 2px;
  height: 30px;
  background: var(--primary-color);
  margin: 0 auto 0.5rem auto;
  border-radius: 2px;
}

.san-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
}

.san-item {
  background: #f1f3f4;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-primary);
  border: 1px solid #e1e5e9;
  transition: all 0.3s ease;
}

.san-item:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
}

.san-item.primary {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.san-item.more {
  background: var(--text-secondary);
  color: white;
  font-style: italic;
}

.fingerprint {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary) !important;
  word-break: break-all;
}

.analysis-footer {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.security-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.score-value {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.grade-a {
  background: linear-gradient(135deg, #10b981, #059669);
}
}