/* UI Component Styles - Aurelio Tech */

/* Technology Hero Elements */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: slowGlow 6s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* Badge Utility */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan {
  background-color: oklch(68% 0.22 195 / 0.1);
  color: var(--accent-cyan);
  border: 1px solid oklch(68% 0.22 195 / 0.25);
}

.badge-purple {
  background-color: oklch(62% 0.23 290 / 0.1);
  color: var(--accent-purple);
  border: 1px solid oklch(62% 0.23 290 / 0.25);
}

.badge-muted {
  background-color: var(--border-main);
  color: var(--text-muted);
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-main);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px oklch(0% 0 0 / 0.15);
}

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

.btn-secondary:hover {
  background-color: var(--border-main);
}

/* Product Cards Grid Element */
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 1rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px var(--glow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-main);
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 0.15rem;
  transition: border-color 0.3s ease;
}

.product-card-logo {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-icon-wrapper {
  border-color: var(--accent-cyan);
}

.product-card:hover .product-card-logo {
  transform: scale(1.08);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  width: 100%;
}

.product-features li {
  font-size: 0.875rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-features li::before {
  content: "→";
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Info Support UI Box */
.info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 0.75rem;
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.info-card:hover {
  border-color: var(--accent-cyan);
}

.info-icon {
  font-size: 1.75rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  word-break: break-all;
}

.info-value a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

/* Theme switcher styling moved to branding.css */

/* Master Legal Policy Tabs Interface */
.legal-tabs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tab-list {
  display: flex;
  border-bottom: 1px solid var(--border-main);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for Chrome/Safari */
  -webkit-overflow-scrolling: touch;
}

.tab-list::-webkit-scrollbar { display: none; }
.tab-trigger {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab-trigger:hover { color: var(--text-main); }
.tab-trigger.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}
.tab-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 0.75rem;
  padding: 2rem;
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}
.tab-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}
.tab-content p, .tab-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.tab-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
