/* ProfileGen — Editorial Darkroom */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-elevated: #1e1e1e;
  --text-primary: #f5f0eb;
  --text-secondary: #8a8279;
  --text-muted: #5c5650;
  --accent: #c9a96e;
  --accent-hover: #dfc08a;
  --accent-dim: rgba(201, 169, 110, 0.12);
  --accent-strong: rgba(201, 169, 110, 0.25);
  --border: rgba(201, 169, 110, 0.08);
  --border-hover: rgba(201, 169, 110, 0.18);
  --border-strong: rgba(201, 169, 110, 0.3);
  --success: #6b8f71;
  --error: #c45d5d;
  --warning: #c9a96e;
  --radius: 4px;
  --radius-sm: 2px;
  --radius-lg: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "DM Sans", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-hover);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
select,
textarea {
  font-family: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 110, 0.35);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.2) transparent;
}

/* Ambient Background — subtle grain texture */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}
.orb-1 {
  width: 800px;
  height: 800px;
  top: -300px;
  left: -200px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.4) 0%,
    transparent 70%
  );
}
.orb-2 {
  width: 600px;
  height: 600px;
  top: 50%;
  right: -200px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.25) 0%,
    transparent 70%
  );
}
.orb-3 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: 40%;
  background: radial-gradient(
    circle,
    rgba(107, 143, 113, 0.2) 0%,
    transparent 70%
  );
}

/* Noise overlay */
.ambient-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* ═══════ Navbar ═══════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.logo:hover {
  color: var(--text-primary);
}
.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.logo-text {
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: all var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after {
  width: 60%;
}
.nav-link.active {
  color: var(--accent);
}
.nav-link.active::after {
  width: 60%;
}

.nav-actions {
  display: flex;
  align-items: center;
}
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(13, 13, 13, 0.98);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.active {
  display: block;
}
.mobile-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-link:last-child {
  border-bottom: none;
}
.mobile-nav-link:hover {
  color: var(--accent);
  padding-left: 1.5rem;
}
.mobile-nav-link.active {
  color: var(--accent);
}

/* ═══════ Main Content ═══════ */
.main-content {
  padding-top: 64px;
  min-height: 100vh;
}

/* ═══════ Hero ═══════ */
.hero {
  padding: 7rem 2.5rem 4rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent),
    transparent
  );
  opacity: 0.3;
}
.hero-content {
  max-width: 680px;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-weight: 400;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.hero-cta:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.2);
}

.hero-small {
  padding: 5rem 2.5rem 2.5rem;
}
.hero-small::before {
  height: 40px;
}
.hero-small .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
}
.hero-small .hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ═══════ Section Title ═══════ */
.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 1rem auto 0;
}

/* ═══════ Features ═══════ */
.features-section {
  padding: 4rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
}
.feature-card {
  background: var(--bg-primary);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
}
.feature-card:hover {
  background: var(--bg-secondary);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════ Tool Section ═══════ */
.tool-section {
  padding: 2.5rem 2.5rem 5rem;
  max-width: 920px;
  margin: 0 auto;
}
.tab-container {
  margin-bottom: 2.5rem;
}
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.tab:hover {
  color: var(--text-secondary);
}
.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.tab.active .tab-icon {
  opacity: 1;
}

/* Panels */
.panels-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition);
}
.panel:hover {
  border-color: var(--border-hover);
}

/* ═══════ Upload Zone ═══════ */
.upload-zone {
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg-primary);
  transition: all var(--transition);
  margin-bottom: 2rem;
  position: relative;
}
.upload-zone:hover {
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.03);
}
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: inset 0 0 40px rgba(201, 169, 110, 0.05);
}
.upload-content {
  pointer-events: none;
}
.upload-zone .upload-content {
  pointer-events: auto;
}
.upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
  opacity: 0.5;
}
.upload-icon svg {
  width: 48px;
  height: 48px;
}
.upload-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.upload-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: all var(--transition);
  pointer-events: auto;
  cursor: pointer;
}
.upload-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
}
.file-input {
  display: none;
}

/* ═══════ Options Panel ═══════ */
.options-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.options-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.option-group {
  margin-bottom: 1.25rem;
}
.option-group:last-child {
  margin-bottom: 0;
}
.option-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.option-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 2px;
  background: var(--border-hover);
  border-radius: 1px;
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 0 3px var(--bg-primary);
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow:
    0 0 0 3px var(--bg-primary),
    0 0 0 6px var(--accent-dim);
}
.slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.slider-value {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  min-width: 40px;
  text-align: right;
}

.input-field {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.input-field::placeholder {
  color: var(--text-muted);
}

/* Custom Select (Vue component) */
.form-custom-select {
  position: relative;
  width: 100%;
}
.form-custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.form-custom-select-trigger:hover {
  border-color: var(--border-hover);
}
.form-custom-select.open .form-custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.form-custom-select-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.form-custom-select.open .form-custom-select-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.form-custom-select-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form-custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}
.form-custom-select.open .form-custom-select-options {
  max-height: 280px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
}
.form-custom-select.open-up .form-custom-select-options {
  top: auto;
  bottom: calc(100% + 4px);
}
.form-custom-select-option {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
}
.form-custom-select-option:hover {
  background: var(--accent-dim);
  color: var(--accent);
}
.form-custom-select-option.selected {
  color: var(--accent);
}
.form-custom-select-option.selected::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ═══════ Results ═══════ */
.results-section {
  padding: 2rem 0 0;
  max-width: 920px;
  margin: 0 auto;
}
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0 2.5rem;
}
.results-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.clear-btn svg {
  width: 12px;
  height: 12px;
}
.clear-btn:hover {
  color: var(--error);
  border-color: var(--error);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 2.5rem;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.result-item:hover {
  border-color: var(--border-hover);
}
.result-item.is-error {
  border-color: rgba(196, 93, 93, 0.3);
}

.result-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.7;
}
.result-icon svg {
  width: 18px;
  height: 18px;
}
.is-error .result-icon {
  color: var(--error);
}

.result-info {
  flex: 1;
  min-width: 0;
}
.result-filename {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.result-progress {
  margin-top: 0.3rem;
}
.progress-bar {
  height: 2px;
  background: var(--border-hover);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.progress-bar.indeterminate .progress-fill {
  width: 30% !important;
  animation: progressIndeterminate 1.5s ease-in-out infinite;
}
@keyframes progressIndeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(400%);
  }
}
.progress-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.result-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.2rem;
}
.result-stat {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.35rem;
  font-family: var(--font-mono);
}
.result-stat.highlight {
  color: var(--success);
  font-weight: 500;
}
.result-stat.highlight span {
  color: var(--success);
}

.result-error {
  margin-top: 0.2rem;
}
.error-text {
  font-size: 0.78rem;
  color: var(--error);
}

.result-actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.action-btn svg {
  width: 14px;
  height: 14px;
}
.action-btn.download:hover {
  color: var(--success);
  border-color: var(--success);
}
.action-btn.delete:hover {
  color: var(--error);
  border-color: var(--error);
}

/* Batch Download */
.batch-download {
  padding: 1.25rem 2.5rem 0;
}
.batch-download-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.batch-download-btn svg {
  width: 16px;
  height: 16px;
}
.batch-download-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(201, 169, 110, 0.2);
}
.batch-download-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ═══════ Info / Steps Section ═══════ */
.info-section {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--border);
}
.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-primary);
  transition: all var(--transition);
}
.step-card:hover {
  background: var(--bg-secondary);
}
.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════ Content Sections (about, terms, privacy, cookies) ═══════ */
.content-section {
  padding: 2rem 2.5rem 5rem;
}
.content-container {
  max-width: 720px;
  margin: 0 auto;
}
.content-block {
  margin-bottom: 2.5rem;
}
.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.content-block p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.legal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.last-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ═══════ FAQ ═══════ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item.active {
  border-color: var(--border-hover);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0.5rem;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.faq-question:hover {
  padding-left: 1rem;
}
.faq-question h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  flex: 1;
  letter-spacing: 0.01em;
}
.faq-question svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-answer p {
  padding: 0 0.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.92rem;
}

/* ═══════ Footer ═══════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem 2rem;
  margin-top: 0;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}
.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  transition: all var(--transition);
}
.footer-col a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-legal-links a:hover {
  color: var(--accent);
}

/* Footer Language Select */
.custom-select {
  position: relative;
  min-width: 150px;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.custom-select-trigger:hover {
  border-color: var(--border-hover);
}
.custom-select.open .custom-select-trigger {
  border-color: var(--accent);
}
.custom-select-arrow {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}
.custom-select-options {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}
.custom-select.open .custom-select-options {
  max-height: 300px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
}
.custom-select-option {
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.custom-select-option:hover {
  color: var(--accent);
  background: var(--accent-dim);
}
.custom-select-option.selected {
  color: var(--accent);
}

/* ═══════ Loading Overlay ═══════ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 13, 13, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 9999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.loading-overlay.active {
  display: flex;
}
.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.loading-spinner {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}
@keyframes spinnerRotate {
  to {
    transform: rotate(360deg);
  }
}
.loading-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.loading-filename {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ═══════ Home Hero Enhanced ═══════ */
.hero-home {
  padding: 6rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-home .hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out both;
}
.hero-badge svg {
  width: 12px;
  height: 12px;
}
.hero-visual {
  max-width: 480px;
  margin: 2rem auto 0;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease-out 0.4s both;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* ═══════ Section Subtitle ═══════ */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: -1.5rem auto 3rem;
  line-height: 1.7;
}

/* ═══════ Showcase Gallery ═══════ */
.showcase-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.showcase-cards {
  display: flex; flex-direction: column; gap: 1.5rem;
  max-width: 1000px; margin: 0 auto;
}
.showcase-card {
  display: flex; gap: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: all 0.4s ease;
}
.showcase-card:hover {
  border-color: var(--border-hover);
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}
.showcase-card-reverse { flex-direction: row-reverse; }
.showcase-card-image {
  flex: 0 0 45%; position: relative; overflow: hidden;
}
.showcase-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.showcase-card:hover .showcase-card-image img { transform: scale(1.04); }

/* Before/After comparison tags */
.showcase-card-compare { position: relative; }
.showcase-compare-tags {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0.75rem 1rem; pointer-events: none;
}
.showcase-compare-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tag-before {
  background: rgba(13, 13, 13, 0.7); color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
}
.tag-after {
  background: rgba(201, 169, 110, 0.25); color: var(--accent);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

/* Card body */
.showcase-card-body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 2rem;
}
.showcase-card-label {
  font-size: 0.7rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.showcase-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500; margin-bottom: 0.75rem;
  letter-spacing: 0.01em; line-height: 1.3;
}
.showcase-card-body p {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75;
  margin-bottom: 1.25rem;
}
.showcase-card-link {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: letter-spacing var(--transition);
}
.showcase-card:hover .showcase-card-link { letter-spacing: 0.12em; }

/* ═══════ Tools Section ═══════ */
.tools-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  background: var(--bg-primary);
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.tool-card:hover {
  background: var(--bg-secondary);
  color: inherit;
}
.tool-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tool-card:hover::after {
  transform: scaleX(1);
}
.tool-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}
.tool-card-icon svg {
  width: 24px;
  height: 24px;
}
.tool-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.tool-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.tool-card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.tool-card:hover .tool-card-link {
  letter-spacing: 0.1em;
}

/* ═══════ How It Works ═══════ */
.howto-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.howto-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.howto-step {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.howto-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg-primary);
  position: relative;
  z-index: 2;
}
.howto-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
  opacity: 0.6;
}
.howto-icon svg {
  width: 24px;
  height: 24px;
}
.howto-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.howto-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.howto-connector {
  width: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
}
.howto-connector svg {
  width: 60px;
  height: 24px;
}

/* ═══════ Before & After ═══════ */
.beforeafter-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.beforeafter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.beforeafter-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.beforeafter-card:hover {
  border-color: var(--border-hover);
}
.beforeafter-label {
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.beforeafter-images {
  position: relative;
}
.ba-img {
  position: relative;
}
.ba-img img {
  width: 100%;
  display: block;
}
.ba-tags {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  pointer-events: none;
}
.ba-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ba-before {
  background: rgba(13, 13, 13, 0.7);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ba-after {
  background: rgba(201, 169, 110, 0.2);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

/* ═══════ Stats / Trust Bar ═══════ */
.stats-section {
  padding: 4rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--border);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  transition: all var(--transition);
}
.stat-item:hover {
  background: var(--bg-secondary);
}
.stat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.stat-icon svg {
  width: 22px;
  height: 22px;
}
.stat-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.stat-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ═══════ CTA Section ═══════ */
.cta-section {
  padding: 6rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.cta-button:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.25);
}

/* ═══════ ID Photo Page — Features ═══════ */
.idp-features-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.idp-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  max-width: 1000px; margin: 0 auto;
  background: var(--border);
}
.idp-feature-card {
  background: var(--bg-primary); padding: 2.5rem 2rem;
  transition: all var(--transition); position: relative;
}
.idp-feature-card:hover { background: var(--bg-secondary); }
.idp-feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.idp-feature-card:hover::before { transform: scaleX(1); }
.idp-feature-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.25rem; opacity: 0.8;
}
.idp-feature-icon svg { width: 22px; height: 22px; }
.idp-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.idp-feature-card p {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7;
}

/* ═══════ ID Photo Page — Showcase ═══════ */
.idp-showcase-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}
.idp-showcase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 1000px; margin: 0 auto;
}
.idp-showcase-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s ease;
}
.idp-showcase-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.idp-showcase-label {
  padding: 0.85rem 1.5rem; font-size: 0.72rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.idp-showcase-img { position: relative; overflow: hidden; }
.idp-showcase-img img {
  width: 100%; display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.idp-showcase-card:hover .idp-showcase-img img { transform: scale(1.03); }
.idp-showcase-tags {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0.75rem 1rem; pointer-events: none;
}
.idp-showcase-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ═══════ ID Photo Page — Sizes ═══════ */
.idp-sizes-section {
  padding: 5rem 2.5rem 4rem;
  border-top: 1px solid var(--border);
}
.idp-sizes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  max-width: 900px; margin: 0 auto;
  background: var(--border);
}
.idp-size-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.75rem 1.25rem; background: var(--bg-primary);
  transition: all var(--transition);
}
.idp-size-card:hover { background: var(--bg-secondary); }
.idp-size-flag { font-size: 1.6rem; margin-bottom: 0.6rem; }
.idp-size-card strong {
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 500; margin-bottom: 0.2rem;
}
.idp-size-card span {
  font-size: 0.78rem; color: var(--text-secondary); font-family: var(--font-mono);
}
.idp-size-use {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  color: var(--text-muted) !important;
  margin-top: 0.3rem;
}
.idp-sizes-more {
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
  margin-top: 2rem; font-style: italic;
}

/* ═══════ ID Photo Page — How To ═══════ */
.idp-howto-section {
  padding: 5rem 2.5rem 6rem;
  border-top: 1px solid var(--border);
}

/* ═══════ Page Load Animation ═══════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-title {
  animation: fadeUp 0.8s ease-out both;
}
.hero-subtitle {
  animation: fadeUp 0.8s ease-out 0.15s both;
}
.hero-cta {
  animation: fadeUp 0.8s ease-out 0.3s both;
}
.feature-card {
  animation: fadeUp 0.6s ease-out both;
}
.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* ═══════ Responsive ═══════ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero {
    padding: 5.5rem 1.5rem 3rem;
  }
  .hero-small {
    padding: 4rem 1.5rem 2rem;
  }
  .features-section {
    padding: 3rem 1.5rem 4rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tool-section {
    padding: 1.5rem 1rem 3rem;
  }
  .tabs {
    gap: 0;
  }
  .tab {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }
  .panel {
    padding: 1.5rem;
  }
  .upload-zone {
    padding: 2.5rem 1.25rem;
  }
  .result-item {
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
  }
  .result-actions {
    width: 100%;
    justify-content: flex-end;
    padding-top: 0.5rem;
  }
  .results-header {
    padding: 0 1rem;
  }
  .results-list {
    padding: 0 1rem;
  }
  .batch-download {
    padding: 1rem 1rem 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
  }
  .step-card {
    border-bottom: 1px solid var(--border);
  }
  .step-card:last-child {
    border-bottom: none;
  }
  .info-section {
    padding: 3rem 1.5rem;
  }
  .footer-main {
    flex-direction: column;
    gap: 2.5rem;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .content-section {
    padding: 1.5rem 1.5rem 4rem;
  }
  .legal-content {
    padding: 2rem;
  }
  /* New homepage sections responsive */
  .hero-home { padding: 5rem 1.5rem 2rem; }
  .hero-visual { max-width: 320px; }
  .section-subtitle { font-size: 0.9rem; margin: -1rem auto 2rem; }
  .showcase-section { padding: 3rem 1.5rem 4rem; }
  .showcase-card { flex-direction: column !important; }
  .showcase-card-image { flex: none; max-height: 280px; }
  .showcase-card-body { padding: 1.5rem; }
  .tools-section { padding: 3rem 1.5rem 4rem; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-section { padding: 3rem 1.5rem 4rem; }
  .howto-grid { flex-direction: column; align-items: center; gap: 0; }
  .howto-connector { transform: rotate(90deg); width: 40px; margin: 0; }
  .howto-step { padding: 1.5rem; }
  .beforeafter-section { padding: 3rem 1.5rem 4rem; }
  .beforeafter-grid { grid-template-columns: 1fr; }
  .stats-section { padding: 3rem 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { padding: 4rem 1.5rem; }
  /* ID Photo page responsive */
  .idp-features-section { padding: 3rem 1.5rem 4rem; }
  .idp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .idp-showcase-section { padding: 3rem 1.5rem 4rem; }
  .idp-showcase-grid { grid-template-columns: 1fr; }
  .idp-sizes-section { padding: 3rem 1.5rem 3rem; }
  .idp-sizes-grid { grid-template-columns: repeat(2, 1fr); }
  .idp-howto-section { padding: 3rem 1.5rem 4rem; }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-cta {
    padding: 0.8rem 1.5rem;
  }
  .options-panel {
    padding: 1.25rem;
  }
  .result-icon {
    width: 30px;
    height: 30px;
  }
  .result-icon svg {
    width: 14px;
    height: 14px;
  }
  .legal-content {
    padding: 1.5rem;
  }
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }
  /* New homepage sections responsive */
  .tools-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-content h2 { font-size: 1.5rem; }
  .cta-button { padding: 0.8rem 1.5rem; font-size: 0.82rem; }
  /* ID Photo page responsive */
  .idp-features-grid { grid-template-columns: 1fr; }
  .idp-sizes-grid { grid-template-columns: 1fr 1fr; }
}
