:root {
  --red: #ff0000;
  --red-light: #ff4444;
  --red-dark: #e02677;
  --bg: #0d0d0d;
  --bg-secondary: #111;
  --card: #1a1a1a;
  --muted: #bbb;
  --border: #333;
  --glass-bg: rgba(26, 26, 26, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;

  /* Make footer stick to bottom */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: .9
}

/* Default centered container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px
}

/* Stretch header/footer edge to edge */
.site-header .container,
.site-footer .container {
  max-width: 100%
}

/* Enhanced Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .8rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

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

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

.btn:hover {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 46, 136, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn-hero {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  box-shadow: 0 8px 32px rgba(255, 46, 136, 0.3);
}

.btn-hero:hover {
  box-shadow: 0 12px 48px rgba(255, 46, 136, 0.5);
}

.btn-secondary {
  background: rgba(255, 46, 136, 0.1);
  border: 1px solid rgba(255, 46, 136, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 46, 136, 0.2);
  border-color: rgba(255, 46, 136, 0.5);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: 1;
}

/* Enhanced Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Increase overall header height to fit the bigger logo */
.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
}

/* Language Switcher */
.nav-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-select option {
  background: #111;
  color: #fff;
  padding: 5px;
}

/* Enhanced Nav links */
.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-link {
  color: #ddd;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff !important;
  margin-left: 0.5rem;
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 46, 136, 0.3);
}

/* Make the logo ~3x (28px → 84px) */
.brand img {
  height: 84px;
  display: block;
  transition: all 0.3s ease;
}

.brand:hover img {
  filter: drop-shadow(0 0 15px rgba(255, 46, 136, 0.3));
}

/* Enhanced Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
}

.footer-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-link {
  color: var(--muted);
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.muted {
  color: var(--muted)
}

/* Enhanced Hero section */
.hero {
  padding: 80px 0 40px;
  text-align: center;
}

.hero-title {
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-subtitle {
  margin: 0 0 3rem;
  color: #e0e0e0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 400;
}

.hero .cta {
  display: flex;
  justify-content: center;
  margin: 2rem 0 3rem;
}

/* Enhanced Video styling */
.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  /* expanded to match 3 cards */
  margin: 0 auto 3rem;
}

.hero video {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero video:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 80px rgba(255, 46, 136, 0.2);
}

.video-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover .video-glow {
  opacity: 0.3;
}

/* Enhanced Feature cards */
.grid {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 46, 136, 0.2);
  border-color: rgba(255, 46, 136, 0.3);
}

/* FIXED IMAGE STYLES */
.card-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 2 / 3;
  /* vertical 2:3 */
  background: #0e0e0e;
  /* letterbox background */
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* show full image */
  display: block;
  transition: none;
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 46, 136, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .card-image-overlay {
  opacity: 1;
}

.feature-card:hover img {
  transform: none;
  /* no zoom to avoid crop */
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.card-content p {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Pricing */
.pricing {
  display: grid;
  gap: 16px
}

.pricing .plan {
  padding: 18px
}

.plan h3 {
  margin: 0 0 8px
}

.plan .price {
  font-size: 1.8rem;
  margin: 6px 0 12px;
  color: #fff
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #ddd
}

.plan li {
  margin: .35rem 0
}

/* Utilities */
.center {
  text-align: center
}

.spacer {
  height: 40px
}

/* Responsive design */
@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .video-container {
    max-width: 100%;
  }
}

/* Keep things readable on small screens */
@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .brand img {
    height: 44px;
  }

  .nav {
    gap: 4px;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 40px 0 20px;
  }

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

  .btn-hero {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .grid {
    gap: 1.5rem;
  }

  .card-content {
    padding: 1.25rem;
  }
}

/* Photo Studio Styles */
.upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-area:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.upload-area.drag-over {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.upload-placeholder {
  width: 100%;
}

.upload-placeholder svg {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 1rem;
}

.upload-placeholder p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.upload-preview {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}

.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.remove-btn:hover {
  background: rgba(255, 0, 0, 0.8);
  transform: scale(1.1);
}

#upload-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Photos Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.photo-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
}

.photo-item:hover {
  transform: scale(1.05);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-item:hover .photo-item-overlay {
  opacity: 1;
}

/* Transform Section */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.transform-preview {
  text-align: center;
}

.transform-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.transform-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.05);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label span {
  flex: 1;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Image Modal */
#img-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#download-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease;
}

#download-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* =========================================
   PHOTO STUDIO SECTION
   ========================================= */

/* Photo Upload Section */
.upload-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.upload-placeholder {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(17, 17, 17, 0.4);
  flex: 1;
  min-width: 280px;
}

.upload-placeholder:hover {
  border-color: var(--red);
  background: rgba(255, 0, 0, 0.05);
}

.upload-placeholder svg {
  margin: 0 auto 1rem;
  opacity: 0.7;
}

.upload-preview {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.remove-btn:hover {
  background: var(--red);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.remove-btn:active {
  transform: scale(0.95);
}

#upload-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
}

#upload-actions button {
  width: 100%;
  max-width: 280px;
}

#upload-status {
  font-size: 0.9rem;
}

/* Photos Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.photo-item {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.5);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-item-overlay {
  opacity: 1;
}

/* Transform Grid */
.transform-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.transform-preview {
  width: 240px;
}

.transform-preview img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

/* Select Dropdown */
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Transform Options Checkboxes */
.transform-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.03);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: var(--red);
}

.checkbox-label span {
  font-size: 0.95rem;
  color: #fff;
}

/* Aspect Ratio Selector Styles */
.aspect-ratio-selector {
  width: 100%;
  padding: 1.5rem 0;
}

.aspect-ratio-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.category-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--red) 0%, #e02677 100%);
  border-color: var(--red);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.category-btn .count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.category-btn.active .count {
  background: rgba(255, 255, 255, 0.3);
}

.multi-select-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.multi-select-info p {
  margin: 0;
  color: #93c5fd;
  font-size: 0.9rem;
}

.aspect-ratio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.aspect-ratio-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.aspect-ratio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.3);
}

.aspect-ratio-card.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.05);
}

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

.aspect-ratio-card .card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aspect-ratio-card .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

.aspect-ratio-card .name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.aspect-ratio-card .ratio {
  font-size: 0.75rem;
  color: var(--muted);
}

.aspect-ratio-card .badges {
  display: flex;
  gap: 0.25rem;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-popular {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-selected {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

.preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.preview-box {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.aspect-ratio-card.selected .preview-box {
  box-shadow: 0 0 0 2px var(--red);
}

.aspect-ratio-card .dimensions {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.use-case {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.75rem;
  color: #ccc;
}

.selected-summary {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-summary .selected-name {
  margin: 0;
  font-weight: 600;
  color: #86efac;
  font-size: 1rem;
}

.selected-summary .selected-details {
  margin: 0.25rem 0 0;
  color: #4ade80;
  font-size: 0.85rem;
}

.selected-summary .selected-best {
  color: #4ade80;
  font-size: 0.9rem;
}

.aspect-ratio-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.aspect-ratio-toggle label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin: 0;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-switch .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked~.slider {
  transform: translateX(24px);
}

.toggle-switch input[type="checkbox"]:checked+.toggle-switch {
  background: var(--red);
}

.toggle-label-text {
  display: flex;
  flex-direction: column;
}

.toggle-label-text .title {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.toggle-label-text .description {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.125rem;
}

/* Responsive adjustments for photo section */
@media (max-width: 768px) {
  .card {
    padding: 1rem 0.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
  }

  .transform-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1.5rem;
    row-gap: 2.5rem;
  }

  .transform-preview {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
    padding: 1rem 0;
    background: rgba(17, 17, 17, 0.7);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(255, 0, 0, 0.07);
  }

  .luxury-transform-controls {
    padding: 1.2rem 0.5rem 0.5rem 0.5rem;
    background: rgba(26, 26, 26, 0.85);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(255, 0, 0, 0.04);
    margin-bottom: 1.5rem;
  }

  #transform-type-chips,
  .chip-group {
    flex-wrap: wrap;
    gap: 0.5rem 0.5rem;
    margin-bottom: 1rem;
  }

  .chip {
    min-width: 90px;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
  }

  .framework-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
  }

  .framework-card {
    width: 100%;
    margin: 0 !important;
    border-radius: 10px;
    font-size: 1rem;
    padding: 1rem 0.5rem;
  }

  .summary-panel,
  .luxury-summary-panel {
    margin-top: 1.2rem;
    padding: 1rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.03);
  }

  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
  }

  .upload-area {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
    min-height: 120px;
  }

  .upload-placeholder {
    padding: 1.5rem 0.5rem;
    min-width: 0;
    font-size: 1rem;
  }

  .upload-preview {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  #upload-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    margin-top: 1.2rem;
  }

  .aspect-ratio-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .aspect-ratio-categories {
    gap: 0.5rem;
  }

  .category-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }

  .selected-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Arcade Section Styles */
.arcade-cross-text {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  /* Reduced gap */
  text-align: center;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

.region-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.2rem;
  /* Even row and column gap */
  justify-items: center;
  margin: 0.7rem 0 0.5rem 0;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.region-tools button {
  width: 100%;
  min-width: 0;
  font-size: 1rem;
  padding: 0.7rem 0.5rem;
  border-radius: 8px;
}