/* ===================================
   ALFORA — Exact Figma Design Stylesheet
   (Separate Page Views, Zero Scrolling, Image Stick To Bottom)
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,300;1,6..72,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

/* ========== RESET & TOKENS ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #F4EFEA;
  --card-bg: #EFEAE5;
  --card-media-bg: #F7F3EF;
  --text-dark: #1F1D1C;
  --text-muted: #383230;
  --accent-red: #E05349;
  --ff-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-sans: 'DM Sans', system-ui, sans-serif;
  --ff-newsreader: 'Newsreader', Georgia, serif;
  --nav-height: 120px;
}

html,
body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--ff-sans);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========== NAVBAR (Figma Header - Glassmorphism Background) ========== */
header {
  position: relative;
  z-index: 100;
}

.navbar {
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 83, 73, 0.12);
  box-shadow: 0 4px 25px rgba(31, 29, 28, 0.05);
  display: flex;
  align-items: center;
  position: relative;
}

.nav-inner {
  width: 100%;
  max-width: 100%;
  padding-left: 24px;
  padding-right: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 180px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  background: rgba(244, 239, 234, 0.6);
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 22px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--accent-red);
  background: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
  color: white;
  background: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(31, 29, 28, 0.15);
}

.nav-link.active::after,
.nav-link:hover::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-icon-btn {
  font-size: 1.15rem;
  color: var(--text-dark);
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-icon-btn:hover {
  color: var(--accent-red);
  transform: translateY(-1px);
}

.nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(224, 83, 73, 0.4);
}

/* ========== PAGE VIEWS (INSTANT PAGE SWITCHING - ZERO SCROLLING) ========== */
.main-content {
  width: 100vw;
  height: calc(100vh - var(--nav-height));
  position: relative;
  overflow: hidden;
}

.page-view {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--bg-color);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== HOME — Minimal Editorial ========== */
#view-home {
  background:
    radial-gradient(ellipse 70% 60% at 80% 15%,  rgba(220, 170, 150, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 10% 85%,  rgba(210, 175, 140, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%,  rgba(244, 235, 225, 0.6)  0%, transparent 80%),
    #F4EFEA;
  overflow: hidden;
}

/* Slow-breathing ambient glow */
#view-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 78% 12%, rgba(224, 140, 100, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(200, 155, 110, 0.10) 0%, transparent 55%);
  animation: bgBreathe 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Fine paper grain texture */
#view-home::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}

@keyframes bgBreathe {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.06); }
}

#view-home.active {
  align-items: flex-end;
}

/* Ensure layout sits above texture layers */
#view-home .home-layout {
  position: relative;
  z-index: 2;
}

.home-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
}

/* ── Left: Flower ── */
.home-flower-col {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.home-flower-img {
  position: absolute;
  bottom: -110px;
  left: 40px;
  height: calc(100vh - var(--nav-height) + 110px);
  max-height: calc(100vh - var(--nav-height) + 110px);
  width: auto;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 30px 50px rgba(31, 29, 28, 0.07));
  z-index: 2;
  transform-origin: bottom center;
  animation: flowerSway 7s ease-in-out infinite;
}

@keyframes flowerSway {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-7px) rotate(0.4deg); }
  50%  { transform: translateY(-3px) rotate(-0.3deg); }
  75%  { transform: translateY(-9px) rotate(0.3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.home-flower-img:hover {
  animation-play-state: paused;
  transform: scale(1.02) translateY(-8px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Right: Content ── */
.home-content-col {
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 80px;
  padding-left: 20px;
  padding-bottom: 60px;
}

.home-content-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 500px;
}

/* Provenance label */
.home-label {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  opacity: 0.65;
}

/* Main headline */
.home-headline {
  font-family: var(--ff-serif);
  font-size: clamp(4rem, 6.5vw, 7.2rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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




/* Subheadline */
.home-sub {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 40px;
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* CTA text-links */
.home-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  animation: fadeUp 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-action-link {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: color 0.2s ease;
}

.home-action-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--text-dark);
  transition: width 0.3s ease;
}

.home-action-link:hover::after {
  width: 100%;
}

/* Liquid Glass Primary CTA Button */
.liquid-glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 40px;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 10px 30px rgba(31, 29, 28, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -2px 8px rgba(224, 83, 73, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Internal Specular Liquid Shine Sweep */
.liquid-glass-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.liquid-glass-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.liquid-glass-text i {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.liquid-glass-btn:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 16px 36px rgba(31, 29, 28, 0.1),
    0 4px 12px rgba(224, 83, 73, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  color: var(--accent-red);
}

.liquid-glass-btn:hover .liquid-glass-shine {
  left: 140%;
}

.liquid-glass-btn:hover .liquid-glass-text i {
  transform: translateX(4px);
}

.home-action-secondary {
  color: var(--text-muted);
  font-weight: 400;
}

.home-action-secondary::after {
  background: var(--text-muted);
}

/* Thin divider */
.home-divider {
  width: 40px;
  height: 1px;
  background: rgba(31, 29, 28, 0.18);
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Quote */
.home-quote {
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-quote p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}

.home-quote cite {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.65;
  font-style: normal;
}

/* ========== FRAME 2: DESKTOP - 2 (Shop - Scrollable Catalog) ========== */
#view-shop {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 83, 73, 0.3) transparent;
}

#view-shop::-webkit-scrollbar {
  width: 6px;
}

#view-shop::-webkit-scrollbar-track {
  background: transparent;
}

#view-shop::-webkit-scrollbar-thumb {
  background: rgba(224, 83, 73, 0.3);
  border-radius: 10px;
}

#view-shop::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

#view-shop.active {
  display: block;
  padding-top: 36px;
  padding-bottom: 80px;
}

.figma-shop-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-inline: 48px;
}

/* Shop Header Title & Subtitle */
.shop-header {
  text-align: center;
  margin-bottom: 56px;
}

.shop-title {
  font-family: var(--ff-newsreader);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.shop-subtitle {
  font-family: var(--ff-newsreader);
  font-style: italic;
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Shop Controls Bar & Sort Dropdown */
.shop-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Category Filter Tabs */
.shop-categories {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-btn {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  cursor: pointer;
}

.category-btn:hover {
  background: white;
  color: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.category-btn.active {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(31, 29, 28, 0.15);
}

/* Sort By Control */
.shop-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 20px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s ease;
}

.shop-sort-wrapper:hover {
  border-color: var(--accent-red);
  background: white;
}

.sort-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.shop-sort-select {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.figma-product-card.hidden,
.product-card.hidden {
  display: none !important;
}

.figma-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.figma-product-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.figma-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  background: #EAE4DD;
}

.figma-card-media {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: var(--card-media-bg);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.figma-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}

.figma-product-card:hover .figma-card-img {
  transform: scale(1.06);
}

.product-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.figma-product-card:hover .product-card-actions {
  opacity: 1;
}

.product-action-btn {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-action-btn:hover {
  background: var(--accent-red);
  color: white;
  transform: scale(1.1);
}

.product-action-btn.active {
  background: var(--accent-red) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(224, 83, 73, 0.4);
}

.product-action-btn.active i {
  color: white !important;
}

.figma-card-info {
  text-align: center;
  margin-top: 20px;
}

.figma-card-title {
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.figma-card-price {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ========== FRAME 3: ABOUT US ========== */
#view-about {
  display: none;
}

#view-about.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-about-container {
  max-width: 700px;
  text-align: center;
  padding-inline: 24px;
}

.figma-about-title {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.figma-about-desc {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========== CART DRAWER ========== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: var(--bg-color);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-title {
  font-family: var(--ff-newsreader);
  font-size: 1.5rem;
  font-weight: 400;
}

.cart-close {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.cart-items {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.cart-empty {
  text-align: center;
  padding-top: 80px;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--card-bg);
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-name {
  font-family: var(--ff-newsreader);
  font-size: 1.15rem;
  font-weight: 400;
}

.cart-item-price {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2px 10px;
  margin-top: 6px;
}

.qty-btn {
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s ease;
}

.qty-btn:hover {
  color: var(--accent-red);
}

.qty-count {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  min-width: 16px;
  text-align: center;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-newsreader);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.cart-checkout-btn {
  width: 100%;
  background: var(--accent-red);
  color: white;
  padding: 16px;
  border-radius: 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 300;
  font-size: 0.9rem;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .figma-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .figma-hero-left {
    justify-content: center;
  }

  .figma-tulip-img-bottom {
    left: 50%;
    transform: translateX(-50%);
  }

  .figma-speech-bubble {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }

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

}

}

@media (max-width: 640px) {
  .figma-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ABOUT PAGE — Premium Lively & Aesthetic ========== */
#view-about {
  background:
    radial-gradient(ellipse 70% 65% at 85% 25%,  rgba(235, 175, 160, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 60% 55% at 15% 75%,  rgba(225, 185, 150, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 50% 40%,  rgba(247, 238, 230, 0.7)  0%, transparent 80%),
    #F4EFEA;
  overflow: hidden;
  position: relative;
}

/* Slow-breathing ambient rose glow */
#view-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 80% 20%, rgba(230, 130, 110, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 20% 80%, rgba(215, 150, 110, 0.12) 0%, transparent 55%);
  animation: bgBreatheAbout 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Fine paper grain texture */
#view-about::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}

@keyframes bgBreatheAbout {
  0%   { opacity: 0.5; transform: scale(1) translateY(0); }
  100% { opacity: 1;   transform: scale(1.08) translateY(-10px); }
}

#view-about.active {
  align-items: center;
}

/* Layout */
.about-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── Left: Text ── */
.about-text-col {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 60px;
  padding-right: 40px;
  padding-bottom: 20px;
}

.about-text-inner {
  max-width: 500px;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-label {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
  margin-bottom: 24px;
}

.about-headline {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 14px;
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-divider {
  width: 36px;
  height: 1px;
  background: rgba(31, 29, 28, 0.18);
  margin: 32px 0;
  animation: fadeUp 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Numbered pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeUp 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-pillar {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pillar-num {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 400;
  opacity: 0.7;
  min-width: 24px;
}

.pillar-label {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

/* ── Right: Image ── */
.about-img-col {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-rose-img {
  position: absolute;
  bottom: -80px;
  right: 40px;
  height: calc(100vh - var(--nav-height) + 80px);
  max-height: calc(100vh - var(--nav-height) + 80px);
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 30px 50px rgba(31, 29, 28, 0.08));
  transform-origin: bottom center;
  animation: flowerSway 8s ease-in-out infinite;
  z-index: 2;
}

/* ========== FOOTER — Sunset Labs Glass Badge ========== */
.alfora-footer {
  position: fixed;
  bottom: 24px;
  right: 40px;
  z-index: 200;
  background: transparent;
  border: none;
  padding: 0;
  pointer-events: none;
}

.alfora-footer-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
}

/* Sunset Labs compact glass pill badge */
.sunset-labs-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(31, 29, 28, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sunset-labs-brand:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(31, 29, 28, 0.1);
}

.built-by-text {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
}

.sunset-labs-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.sunset-icon-svg {
  flex-shrink: 0;
  margin-top: -1px;
}

.sunset-text {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

/* ========== MOBILE BLOCKER ========== */
.mobile-blocker {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-color);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.mobile-blocker-content {
  max-width: 360px;
}

.mobile-blocker-content i {
  font-size: 2.5rem;
  color: var(--accent-red);
  margin-bottom: 24px;
}

.mobile-blocker-content h2 {
  font-family: var(--ff-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.1;
}

.mobile-blocker-content p {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .mobile-blocker {
    display: flex;
  }
}