/* ============================================
   DIORAMA STUDIO - Premium AI Art Store
   Dark theme with warm gold/amber accents
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --bg-glass: rgba(22, 22, 22, 0.75);
  --bg-glass-hover: rgba(30, 30, 30, 0.85);
  --border-glass: rgba(200, 170, 110, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --gold: #c8a96e;
  --gold-light: #e0c98f;
  --gold-dark: #9a7d4a;
  --gold-glow: rgba(200, 169, 110, 0.15);
  --gold-glow-strong: rgba(200, 169, 110, 0.3);

  --text-primary: #f0ece4;
  --text-secondary: #a09a8e;
  --text-muted: #6b665c;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.7s ease;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container-width: 1280px;
  --container-narrow: 960px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gold-text {
  color: var(--gold);
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition-medium);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
}

.btn--outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-medium);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.7rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold);
}

.nav__lang {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all var(--transition-fast);
}

.nav__lang:hover {
  border-color: var(--gold-dark);
  color: var(--text-secondary);
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(2px);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 8rem 2rem 4rem;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--gold-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  background: var(--gold-glow);
}

.hero__title {
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
}

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

/* --- Featured Grid (Homepage) --- */
.featured {
  padding: 6rem 0;
}

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

.featured__grid .card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* --- Card Component --- */
.card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-medium);
}

.card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow), 0 0 40px var(--gold-glow);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:first-child .card__image {
  aspect-ratio: auto;
  height: 100%;
}

.card:hover .card__image {
  transform: scale(1.05);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.3) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.card:hover .card__overlay {
  opacity: 1;
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.card__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Stats Section --- */
.stats {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.stats__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* --- About / Value Proposition --- */
.about {
  padding: 6rem 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__content h2 {
  margin-bottom: 1.5rem;
}

.about__content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about__features {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about__features .icon {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* --- Pricing Section --- */
.pricing {
  padding: 6rem 0;
}

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

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
}

.price-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.price-card--featured {
  border-color: var(--gold-dark);
  background: linear-gradient(180deg, rgba(200, 169, 110, 0.06) 0%, var(--bg-card) 100%);
}

.price-card--featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.25rem 1rem;
  border-radius: 50px;
}

.price-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.price-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.price-card__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.price-card__currency {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.price-card__features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-card__features li::before {
  content: '\2713';
  color: var(--gold);
  font-size: 0.8rem;
}

/* --- Gallery Page --- */
.gallery-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--gold-dark);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gold-glow);
  border-color: var(--gold-dark);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.gallery-grid .card__image {
  aspect-ratio: 4/3;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox__info {
  text-align: center;
  margin-top: 1.5rem;
}

.lightbox__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.lightbox__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close:hover {
  color: var(--text-primary);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.lightbox__nav:hover {
  background: var(--bg-glass-hover);
  border-color: var(--gold-dark);
}

.lightbox__nav--prev { left: -4rem; }
.lightbox__nav--next { right: -4rem; }

/* --- Product Detail --- */
.product {
  padding: 8rem 0 4rem;
}

.product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.product__image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  pointer-events: none;
  transform: rotate(-25deg);
}

.product__info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product__category {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.product__description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product__prompt-preview {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.product__prompt-preview h4 {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.product__prompt-preview p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
}

.product__price-section {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.product__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.product__price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.product__qr {
  text-align: center;
  margin: 1.5rem 0;
}

.product__qr img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.product__qr-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Menu --- */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav__mobile-menu.active {
  display: flex;
}

.nav__mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.nav__mobile-menu a:hover {
  color: var(--gold);
}

/* --- Gallery Search Box --- */
.gallery-search {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gallery-search__input {
  width: 100%;
  max-width: 400px;
  padding: 0.65rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.gallery-search__input::placeholder {
  color: var(--text-muted);
}

.gallery-search__input:focus {
  border-color: var(--gold-dark);
}

/* --- Filter Button Count Badge --- */
.filter-btn .filter-count {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--gold-glow);
  color: var(--gold);
  padding: 0.1rem 0.45rem;
  border-radius: 50px;
  margin-left: 0.35rem;
  font-weight: 600;
  min-width: 1.3em;
  text-align: center;
}

/* --- Breadcrumb Navigation --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb__sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.breadcrumb__current {
  color: var(--text-primary);
}

/* --- Product Image Zoom --- */
.product__image-wrap {
  overflow: hidden;
}

.product__image-wrap img {
  transition: transform 0.5s ease;
}

.product__image-wrap:hover img {
  transform: scale(1.08);
}

/* --- Share Button --- */
.product__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product__share-btn:hover {
  border-color: var(--gold-dark);
  color: var(--gold);
}

.product__share-btn.copied {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- View All Button --- */
.featured__view-all {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Mobile Menu Close Button --- */
.nav__mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.nav__mobile-close:hover {
  color: var(--gold);
}

/* --- Mobile Menu Animation --- */
.nav__mobile-menu {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__mobile-menu.active {
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured__grid .card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

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

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

  .about__grid {
    gap: 2rem;
  }

  .product__grid {
    gap: 2rem;
  }

  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: block;
  }

  .hero__content {
    padding: 7rem 1.5rem 3rem;
  }

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

  .featured__grid .card:first-child {
    grid-column: span 1;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }
}
