@import url('https://fonts.googleapis.com/css2?family=Jersey+10&family=Pixelify+Sans:wght@500;700&family=Tiny5&display=swap');

:root {
  --bg-main: #faf6f0;
  --bg-card: #ffffff;
  --bg-hero: #eef6f8;
  --bg-stage: radial-gradient(circle at center, #f4f9fa 0%, #d5e7eb 100%);

  --orange-primary: #f4a425;
  --orange-hover: #e59318;
  --orange-dark: #d8820c;
  --orange-soft: #fef7e8;

  --blue-primary: #5ca3b8;
  --blue-hover: #498fa4;
  --blue-soft: #edf6f9;

  --emerald-success: #10b981;

  --border-stone: #d2e3e7;
  --border-dark: #b3ced5;
  --border-orange: #fcd798;
  --border-blue: #9fd0dc;

  --text-dark: #1e293b;
  --text-body: #334155;
  --text-muted: #5e7185;

  --font-heading: 'Jersey 10', sans-serif;
  --font-body: 'Tiny5', sans-serif;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --shadow-card: none !important;
  --shadow-orange: none !important;
  --shadow-blue: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html {
  scroll-behavior: smooth;
}

/* Very Pale Orange Pixelated Noise Background Texture */
body.light-theme {
  background-color: #faf6f0;
  background-image: url('../assets/images/noise-bg.svg');
  background-repeat: repeat;
  color: var(--text-dark);
  font-family: 'Tiny5', sans-serif !important;
  font-size: 2.15rem;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Headings: Jersey 10 (Weight 400 - NO BOLD) */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .card-title, .price-tag, .pricing-card h3, .contact-header h3 {
  font-family: 'Jersey 10', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px;
}

/* Body text, buttons, inputs, labels, subtext: Tiny5 */
p, span, button, input, select, textarea, label, a, div, li, strong, small,
.price-desc, .hero-subtitle, .copyright, .nav-link, .hero-pill, .section-pill, .btn, .btn-orange, .nav-btn, .submit-btn {
  font-family: 'Tiny5', sans-serif !important;
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* PIXEL ICON IMAGE HELPER */
.pixel-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: inline-block;
  vertical-align: middle;
  /* default: dark text color (#334155) */
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(400%) hue-rotate(180deg) brightness(90%);
}

.pixel-icon-img.lg {
  width: 24px;
  height: 24px;
}

.pixel-icon-img.xl {
  width: 48px;
  height: 48px;
}

/* White icons: on orange buttons, orange featured badge */
.btn-orange .pixel-icon-img,
.featured-badge .pixel-icon-img {
  filter: brightness(0) invert(1);
}

/* Blue icons: gallery header, contact header */
.gallery-header .pixel-icon-img,
.contact-header .pixel-icon-img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(30%) saturate(500%) hue-rotate(155deg) brightness(95%);
}

/* Orange-dark icons: nav links, hero pill, section pill, delivery tag */
.nav-link .pixel-icon-img,
.hero-pill .pixel-icon-img,
.section-pill .pixel-icon-img,
.delivery-time-tag .pixel-icon-img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(70%) saturate(600%) hue-rotate(10deg) brightness(95%);
}

/* White on hover/active nav */
.nav-link:hover .pixel-icon-img,
.nav-link.active .pixel-icon-img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(70%) saturate(600%) hue-rotate(10deg) brightness(90%);
}

/* Square buttons: dark by default, white when active (orange bg) */
.square-btn .pixel-icon-img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(400%) hue-rotate(180deg) brightness(90%);
}

.square-btn.active .pixel-icon-img {
  filter: brightness(0) invert(1);
}

/* Success icon: golden orange */
.success-icon .pixel-icon-img {
  filter: brightness(0) saturate(100%) invert(65%) sepia(80%) saturate(700%) hue-rotate(5deg) brightness(98%);
}

/* Addons subtitle: blue */
.addons-subtitle .pixel-icon-img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(30%) saturate(500%) hue-rotate(155deg) brightness(95%);
}


.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.orange-accent {
  color: var(--orange-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-family: 'Tiny5', sans-serif !important;
  font-weight: 400;
  font-size: 1.35rem;
  border-radius: 0 !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-orange {
  background: var(--orange-primary);
  color: #fff;
  border-color: var(--orange-hover);
}

.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-hover);
}

.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.btn-outline-orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-color: var(--border-orange);
}

.btn-outline-orange:hover {
  background: var(--orange-primary);
  color: #fff;
}

.btn-outline-blue {
  background: var(--blue-soft);
  color: var(--blue-hover);
  border-color: var(--border-blue);
}

.btn-outline-blue:hover {
  background: var(--blue-primary);
  color: #fff;
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.5rem;
}

.square-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 0 !important;
  background: #fff;
  border: 2px solid var(--border-stone);
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.square-btn .pixel-icon-img {
  width: 20px;
  height: 20px;
}

.square-btn:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
}

.square-btn.active {
  background: var(--orange-primary);
  color: #fff;
  border-color: var(--orange-hover);
}

.navbar {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: none !important;
  height: 80px;
  z-index: 500;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Pixelify Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 2.2rem;
  color: var(--text-dark);
}

.logo-name {
  font-family: 'Pixelify Sans', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.brand-avatar-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: none !important;
  background: transparent !important;
}

.brand-avatar-img.sm {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-link {
  color: var(--text-body);
  font-family: 'Tiny5', sans-serif !important;
  font-size: 1.38rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.section {
  padding: 3.5rem 0;
}

.hero-card {
  background: var(--bg-hero);
  border: 3px solid var(--border-stone);
  border-radius: 0 !important;
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-avatar-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-avatar-img {
  width: 312px;
  height: 312px;
  object-fit: contain;
  border: none !important;
  background: transparent !important;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border-orange);
  color: var(--orange-dark);
  font-size: 1.2rem;
  padding: 0.2rem 0.9rem;
  border-radius: 0 !important;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400 !important;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.38rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

.gallery-header {
  margin-bottom: 1.8rem;
}

.gallery-header h2 {
  font-size: 2.8rem;
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skin-card {
  background: var(--bg-card);
  border: 3px solid var(--border-stone);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.skin-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}

.card-3d-stage {
  width: 100%;
  height: 320px;
  background: var(--bg-stage);
  border-bottom: 3px solid var(--border-stone);
  position: relative;
  overflow: hidden;
}

.card-3d-stage canvas {
  width: 100% !important;
  height: 100% !important;
}

.card-body {
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: #fff;
}

.card-title-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.card-title {
  display: inline-block;
  font-family: 'Jersey 10', sans-serif !important;
  font-weight: 400 !important;
  font-size: 2.2rem;
  color: var(--text-dark);
  margin: 0;
}

.title-text {
  display: inline-block;
  font-family: 'Jersey 10', sans-serif !important;
  font-weight: 400 !important;
  white-space: nowrap;
}

.title-text.marquee-loop {
  animation: marqueeLoop 6s linear infinite;
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0);
  }
  16.66% {
    transform: translateX(0);
  }
  66.66% {
    transform: translateX(var(--scroll-distance, -40px));
  }
  100% {
    transform: translateX(var(--scroll-distance, -40px));
  }
}

.card-square-controls {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.section-title-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange-soft);
  border: 1px solid var(--border-orange);
  color: var(--orange-dark);
  font-size: 1.2rem;
  padding: 0.2rem 0.8rem;
  border-radius: 0 !important;
  margin-bottom: 0.6rem;
}

.section-title-box h2 {
  font-size: 3rem;
  font-weight: 400 !important;
  color: var(--text-dark);
}

.pricing-subtitle {
  font-size: 0.98rem !important; /* Reduced text by 30% */
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.pricing-grid.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 3px solid var(--border-stone);
  border-radius: 0 !important;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--orange-primary);
  background: #fff;
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-primary);
  color: #fff;
  font-size: 1.14rem;
  padding: 0.25rem 0.9rem;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-header-badge {
  font-size: 1.14rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.card-header-badge.orange { color: var(--orange-dark); }
.card-header-badge.blue { color: var(--blue-primary); }

.pricing-card h3 {
  font-size: 2.2rem;
  font-weight: 400 !important;
  margin: 0.3rem 0;
}

.price-tag {
  font-size: 3.6rem;
  font-weight: 400 !important;
  color: var(--text-dark);
  margin: 0.5rem 0;
}

.price-tag.orange { color: var(--orange-primary); }
.price-tag.blue { color: var(--blue-primary); }

.price-desc {
  font-size: 1.32rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.standard-addons-block {
  background: var(--bg-hero);
  border: 2px dashed var(--border-blue);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.addons-subtitle {
  font-size: 1.26rem;
  font-weight: 700;
  color: var(--blue-hover);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.addons-mini-list {
  list-style: none;
  font-size: 1.18rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.addons-mini-list .sub-item {
  padding-left: 0.8rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.delivery-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-soft);
  color: var(--blue-hover);
  font-size: 1.14rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border-blue);
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.delivery-time-tag.orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-color: var(--border-orange);
}

.contact-card {
  background: var(--bg-card);
  border: 3px solid var(--border-stone);
  border-radius: 0 !important;
  padding: 2.2rem;
  max-width: 750px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 1.8rem;
  text-align: center;
}

.contact-header h3 {
  font-size: 2.4rem;
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 1.26rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg-main);
  border: 2px solid var(--border-stone);
  border-radius: 0 !important;
  padding: 0.75rem 1rem;
  font-family: 'Tiny5', sans-serif !important;
  font-size: 1.38rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--orange-primary);
  background: #fff;
}

.file-upload-input {
  padding: 0.5rem !important;
  cursor: pointer;
}

.file-size-hint {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  font-family: 'Tiny5', sans-serif !important;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #fff;
  border: 4px solid var(--border-stone);
  border-radius: 0 !important;
  padding: 2rem;
  position: relative;
}

.dialog-sm {
  max-width: 420px;
  text-align: center;
}

.success-icon {
  margin-bottom: 0.5rem;
}

.footer {
  background: var(--bg-hero);
  border-top: 2px solid var(--border-stone);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-right-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-dropdown-container {
  position: relative;
}

.footer-text-link {
  font-family: 'Tiny5', sans-serif !important;
  font-size: 1.26rem !important;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-text-link:hover, .footer-text-link.active {
  color: var(--orange-dark);
  text-decoration: underline;
}

.footer-dot {
  font-family: 'Tiny5', sans-serif !important;
  font-size: 1.26rem;
  color: var(--text-muted);
}

/* HAMBURGER BUTTON & MOBILE DRAWER */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none !important;
  border-radius: 0 !important;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  transition: background 0.2s ease;
}

.hamburger-btn:hover, .hamburger-btn.active {
  background: var(--orange-soft);
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animate Hamburger Bars into 'X' when active */
.hamburger-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-drawer {
  display: none !important;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  background: #faf6f0;
  border-bottom: 3px solid var(--border-stone);
  padding: 1.2rem 1.5rem;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
  z-index: 999;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-drawer.active {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.mobile-nav-link {
  font-family: 'Tiny5', sans-serif !important;
  font-size: 1.35rem;
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px dashed var(--border-stone);
}

.mobile-nav-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

/* STANDALONE TOS & FAQ PAGE CARDS */
.tos-faq-container {
  max-width: 860px;
}

.back-link-wrapper {
  margin-bottom: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 3px solid var(--border-stone);
  margin-bottom: 2.5rem;
}

.info-card-header {
  background: var(--bg-hero);
  padding: 1.2rem 1.5rem;
  border-bottom: 3px solid var(--border-stone);
}

.info-card-header h3 {
  font-family: 'Jersey 10', sans-serif !important;
  font-size: 2.4rem;
  font-weight: 400 !important;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-card-body {
  padding: 0.5rem 0;
}

.info-item {
  padding: 1.4rem 1.5rem;
  border-bottom: 2px dashed var(--border-stone);
}

.info-item:last-child {
  border-bottom: none;
}

.info-question {
  font-family: 'Jersey 10', sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 400 !important;
  color: var(--orange-dark);
  margin-bottom: 0.3rem;
  line-height: 1.15;
}

.info-answer {
  font-family: 'Tiny5', sans-serif !important;
  font-size: 1.08rem !important; /* Increased by 25% from 0.85rem */
  color: var(--text-body);
  line-height: 1.5;
}

/* DYNAMIC RESPONSIVE SCALING (MOBILE, TABLET, DESKTOP, ULTRA-WIDE) */

@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .hero-avatar-img {
    width: 260px;
    height: 260px;
  }
}

/* Dynamic Hamburger Switch on viewports < 900px or when .use-hamburger is active */
.nav-container.use-hamburger .desktop-nav,
.nav-container.use-hamburger .desktop-btn {
  display: none !important;
}

.nav-container.use-hamburger .hamburger-btn {
  display: flex !important;
}

@media (max-width: 900px) {
  .desktop-nav, .desktop-btn {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .pricing-grid.grid-2-col, .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-card {
    padding: 2rem 1.5rem;
  }

  .contact-card {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    font-size: 2rem !important;
  }

  .hero-card {
    padding: 1.5rem 1rem;
  }

  .hero-avatar-img {
    width: 200px;
    height: 200px;
  }

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

  .card-3d-stage {
    height: 280px;
  }

  .pricing-card {
    padding: 1.5rem 1.2rem;
  }

  .contact-card {
    padding: 1.4rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-right-group {
    justify-content: center;
    gap: 0.6rem;
  }
}
