/* Shared brand surfaces and controls */
:root {
  --brand-accent: #c2410c;
  --brand-accent-strong: #9a3412;
  --brand-soft: #fff7ed;
  --ui-text: #0f172a;
  --ui-text-muted: #475569;
  --ui-border: #e2e8f0;
  --ui-surface: #ffffff;
  --ui-surface-muted: #f8fafc;
}

.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ui-button-primary {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.ui-button-primary:hover {
  background-color: var(--brand-accent-strong);
  border-color: var(--brand-accent-strong);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(154, 52, 18, 0.16);
}

.ui-button-secondary {
  background-color: var(--ui-surface);
  border-color: #cbd5e1;
  color: #334155;
}

.ui-button-secondary:hover {
  background-color: var(--brand-soft);
  border-color: #fdba74;
  color: var(--brand-accent-strong);
}

.ui-button-small {
  min-height: 2.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

.ui-button-medium {
  min-height: 2.625rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.ui-button-large {
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.ui-button:focus-visible,
.ui-product-card-link:focus-visible {
  outline: 3px solid #fb923c;
  outline-offset: 3px;
}

.ui-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ui-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  background: var(--brand-soft);
  color: var(--brand-accent-strong);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.ui-badge-large {
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.ui-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-accent);
}

.ui-product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--ui-border);
  border-radius: 1rem;
  background: var(--ui-surface);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ui-product-card:hover {
  border-color: #fdba74;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.ui-product-card-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: inherit;
  text-decoration: none;
}

.ui-product-icon,
.ui-feature-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ui-border);
  border-radius: 0.75rem;
  background: var(--ui-surface-muted);
  color: var(--brand-accent);
}

.ui-product-icon img,
.ui-product-icon svg {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.ui-product-icon-large {
  width: 4rem;
  height: 4rem;
  flex-basis: 4rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.ui-product-icon-large img {
  width: 2.5rem;
  height: 2.5rem;
}

.ui-feature-icon {
  border-color: #fed7aa;
  background: var(--brand-soft);
}

.ui-product-heading {
  min-width: 0;
}

.ui-product-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ui-product-name-row h3 {
  overflow-wrap: anywhere;
  color: var(--ui-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.ui-product-heading .ui-badge {
  margin-top: 0.375rem;
}

.ui-new-badge {
  display: inline-flex;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  background: var(--brand-soft);
  padding: 0.125rem 0.5rem;
  color: var(--brand-accent-strong);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1rem;
  text-transform: uppercase;
}

.ui-product-description {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--ui-text-muted);
  line-height: 1.625;
}

.ui-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.ui-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.875rem;
}

.ui-status::before {
  width: 0.625rem;
  height: 0.625rem;
  flex: 0 0 0.625rem;
  border-radius: 9999px;
  content: '';
}

.ui-status-success::before {
  background: #16a34a;
}

.ui-status-warning::before {
  background: #d97706;
}

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

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

.float-animation { animation: float 3s ease-in-out infinite; }
.fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.gradient-text { color: var(--brand-accent-strong); }

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(194, 65, 12, 0.2);
  animation: particle-float 8s linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(100vh); opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { transform: translateY(-100px); opacity: 0; }
}

.hero-interactive { position: relative; }
.hero-interactive::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(194, 65, 12, 0.07) 0%, transparent 55%);
  content: '';
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.hero-interactive:hover::before { opacity: 1; }
.hero-glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, rgba(255, 237, 213, 0.2), rgba(254, 226, 226, 0.2));
  filter: blur(64px);
  transform: translateY(-50%) scale(1.5);
}
.counter { display: inline-block; }
.v1-professional { background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%); }

/* About Me Section Styles */
.about-v1 {
  background: linear-gradient(to right, #fff7ed, #ffedd5);
  padding: 4rem 1.5rem;
}

.about-container-v1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.about-avatar-v1 img {
  width: 100px;
  height: 100px;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  object-fit: cover;
}

.about-text-v1 { max-width: 48rem; }

.about-text-v1 h2 {
  margin-bottom: 1rem;
  color: var(--ui-text);
  font-size: 1.875rem;
  font-weight: 700;
}

.about-text-v1 p {
  margin-bottom: 2rem;
  color: var(--ui-text-muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.about-text-v1 strong { color: var(--brand-accent); }

.social-links-v1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 420px) {
  .ui-product-card { padding: 1.25rem; }
  .ui-product-card-link { gap: 0.75rem; }
  .ui-product-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .float-animation,
  .particle {
    animation: none;
  }

  .ui-product-card,
  .ui-button,
  .hero-interactive::before {
    transition: none;
  }

  .ui-product-card:hover { transform: none; }
}
