/* =========================================================================
   WORDPRESS INTEGRATION NOTES
   ---------------------------------------------------------------------------
   • All selectors are scoped under #tf-app to prevent CSS conflicts with
     WordPress themes, plugins, and admin styles.
   • To deploy: wrap your page content in <div id="tf-app">...</div>.
   • The :root variables and @keyframes are intentionally global.
   • If embedding as a WP Custom HTML Block, ensure the <div id="tf-app">
     wrapper is included in your block markup.
   ========================================================================= */

/* ==========================================================================
   10FORM /V2 — ARCHITECTURAL MINIMALISM (MOBILE-FIRST, BULLETPROOF CSS)
   Vanilla CSS • High-Performance • Glassmorphism • Zero Dependency
   ========================================================================== */

/* --- 1. CORE DESIGN TOKENS & SYSTEM VARIABLES --- */
:root {
  /* Colors - Curated Tadao Ando & Japanese Minimalist Palette */
  --bg-primary: #121316;
  --bg-secondary: #181A1F;
  --bg-card: #1F2127;
  --bg-glass: rgba(24, 26, 31, 0.82);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --bg-glass-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #8E96A4;
  --text-dark: #090A0C;

  /* Architectural Accents */
  --accent-cedar: #C5A880;
  --accent-cedar-hover: #D4B993;
  --accent-cedar-glow: rgba(197, 168, 128, 0.25);
  --accent-navy: #0F172A;
  --accent-slate: #27272A;

  /* Colorway Swatch Colors */
  --swatch-black: #161719;
  --swatch-navy: #131E35;
  --swatch-grey: #4A4D55;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Layout */
  --max-w-7xl: 1280px;
  --max-w-4xl: 896px;
  --header-height: 64px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px -5px var(--accent-cedar-glow);
}

/* --- 2. RESETS & BASE RULES --- */
#tf-app *, #tf-app *::before, #tf-app *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* WP NOTE: When used as WP Custom HTML Block, move these properties to your WP theme's body/html styles */
html {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* WP NOTE: When used as WP Custom HTML Block, move these properties to your WP theme's body/html styles */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Typography Enhancements for EN & JP */
#tf-app h1, #tf-app h2, #tf-app h3, #tf-app h4, #tf-app .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

#tf-app p, #tf-app span, #tf-app label, #tf-app input, #tf-app select, #tf-app button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* WP NOTE: When used as WP Custom HTML Block, move these properties to your WP theme's body/html styles */
html[lang="ja"] body {
  line-height: 1.75;
}

#tf-app a {
  color: inherit;
  text-decoration: none;
}

#tf-app img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 3. FLOATING GLASSMORPHISM HEADER --- */
#tf-app .header-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

#tf-app .navbar-capsule {
  pointer-events: auto;
  width: 100%;
  max-width: 1080px;
  background: rgba(18, 19, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 9999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

#tf-app .brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

#tf-app .brand-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

#tf-app .brand-link:hover .brand-logo {
  color: var(--accent-cedar);
}

#tf-app .brand-divider {
  width: 1px;
  height: 14px;
  background-color: var(--bg-glass-border);
}

#tf-app .brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

#tf-app .nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 768px) {
  #tf-app .nav-links {
    display: flex;
  }
}

#tf-app .nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

#tf-app .nav-link:hover {
  color: var(--accent-cedar);
}

/* --- 4. BILINGUAL TOGGLE [ EN | JP ] --- */
#tf-app .lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--bg-glass-border);
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
}

#tf-app .lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

#tf-app .lang-btn:hover {
  color: var(--text-primary);
}

#tf-app .lang-btn.active {
  background: var(--accent-cedar);
  color: var(--text-dark);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.4);
}

/* --- 5. HERO SECTION --- */
#tf-app .hero-section {
  position: relative;
  padding-top: 120px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--bg-glass-border);
  overflow: hidden;
}

@media (min-width: 1024px) {
  #tf-app .hero-section {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}

#tf-app .hero-glow-blob {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.65) 0%, rgba(197, 168, 128, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

#tf-app .container {
  width: 100%;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  #tf-app .container {
    padding: 0 32px;
  }
}

#tf-app .hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

#tf-app .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: var(--accent-cedar);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

#tf-app .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cedar);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

#tf-app .hero-title {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

#tf-app .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 36px;
}

#tf-app .hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

#tf-app .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent-cedar);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 9999px;
  border: 1px solid var(--accent-cedar-hover);
  box-shadow: var(--shadow-glow);
  transition: all 0.25s ease;
  cursor: pointer;
}

#tf-app .btn-primary:hover {
  background-color: var(--accent-cedar-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(197, 168, 128, 0.45);
}

#tf-app .hero-specs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 36px;
  border-top: 1px solid var(--bg-glass-border);
}

#tf-app .spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#tf-app .spec-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-cedar);
}

/* --- 6. PHILOSOPHY & CRAFT SECTION --- */
#tf-app .section-pad {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  #tf-app .section-pad {
    padding: 110px 0;
  }
}

#tf-app .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

#tf-app .section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cedar);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#tf-app .section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

#tf-app .section-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

#tf-app .grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  #tf-app .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #tf-app .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

#tf-app .card-luxury {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

#tf-app .card-luxury:hover {
  border-color: rgba(197, 168, 128, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

#tf-app .card-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--bg-glass-border);
  color: var(--accent-cedar);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

#tf-app .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

#tf-app .card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

#tf-app .card-footer-tag {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--bg-glass-border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cedar);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SDG 12 Responsible Design Box */
#tf-app .sdg-box {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(31, 33, 39, 0.95), rgba(18, 19, 22, 0.95));
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  #tf-app .sdg-box {
    flex-direction: row;
    text-align: left;
    padding: 32px 36px;
  }
}

#tf-app .sdg-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--accent-cedar);
  color: var(--accent-cedar);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- 7. COLOR SWITCHING & 3-SET LIFESTYLE GALLERY (CORE REQUIREMENT 2) --- */
#tf-app .showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  #tf-app .showcase-grid {
    grid-template-columns: 7fr 5fr;
    gap: 32px;
  }
}

#tf-app .showcase-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--bg-glass-border);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  #tf-app .showcase-card {
    aspect-ratio: 16 / 13;
  }
}

@media (min-width: 1024px) {
  #tf-app .showcase-card {
    aspect-ratio: auto;
    height: 600px;
  }
}

#tf-app .showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms ease;
  z-index: 1;
}

#tf-app .showcase-img.fade-out {
  opacity: 0;
  transform: scale(0.995);
}

#tf-app .showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 13, 16, 0.94) 0%, rgba(12, 13, 16, 0.5) 30%, transparent 65%);
  z-index: 2;
  pointer-events: none;
}

#tf-app .showcase-info {
  position: relative;
  z-index: 5;
  padding: 24px 24px 84px 24px;
  pointer-events: none;
}

@media (min-width: 768px) {
  #tf-app .showcase-info {
    padding: 32px 32px 90px 32px;
  }
}

#tf-app .showcase-caption-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cedar);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

#tf-app .showcase-caption-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

#tf-app .showcase-caption-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}

/* Glassmorphism Color Swatch Bar (Bottom of Image Cards) */
#tf-app .swatch-bar {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(18, 19, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 18px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  #tf-app .swatch-bar {
    bottom: 20px;
    left: 24px;
    right: 24px;
    gap: 8px;
    padding: 8px;
  }
}

#tf-app .swatch-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

#tf-app .swatch-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

#tf-app .swatch-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cedar);
  color: var(--text-primary);
  box-shadow: 0 0 16px rgba(197, 168, 128, 0.25);
}

#tf-app .swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

#tf-app .dot-charcoal { background-color: var(--swatch-black); }
#tf-app .dot-navy { background-color: var(--swatch-navy); }
#tf-app .dot-slate { background-color: var(--swatch-grey); }

/* --- 8. FABRIC & COMPONENT DETAILS SECTION --- */
#tf-app .fabric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  #tf-app .fabric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#tf-app .fabric-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

#tf-app .fabric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, 0.4);
}

#tf-app .fabric-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

#tf-app .fabric-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#tf-app .fabric-card:hover .fabric-img-wrap img {
  transform: scale(1.06);
}

#tf-app .fabric-content {
  padding: 24px;
}

#tf-app .fabric-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

#tf-app .fabric-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 9. STREAMLINED WAITLIST FORM SECTION (CORE REQUIREMENT 3) --- */
#tf-app .waitlist-section {
  position: relative;
  padding: 100px 0 110px;
  border-top: 1px solid var(--bg-glass-border);
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0E1014 100%);
}

#tf-app .waitlist-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 28px;
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  #tf-app .waitlist-container {
    padding: 56px 48px;
  }
}

#tf-app .waitlist-header {
  text-align: center;
  margin-bottom: 36px;
}

#tf-app .waitlist-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cedar);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#tf-app .waitlist-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

#tf-app .waitlist-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

#tf-app .form-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#tf-app .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  #tf-app .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

#tf-app .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#tf-app .form-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

#tf-app .form-input, #tf-app .form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background-color: var(--bg-primary);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

#tf-app .form-input::placeholder {
  color: var(--text-muted);
}

#tf-app .form-input:focus, #tf-app .form-select:focus {
  border-color: var(--accent-cedar);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

#tf-app .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C5A880'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
}

#tf-app .color-vote-wrapper {
  margin-top: 6px;
}

#tf-app .color-vote-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cedar);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#tf-app .color-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  #tf-app .color-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#tf-app .color-option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--bg-glass-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

#tf-app .color-option-card:hover {
  border-color: rgba(197, 168, 128, 0.4);
}

#tf-app .color-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#tf-app .color-option-card.selected {
  border-color: var(--accent-cedar);
  background: rgba(197, 168, 128, 0.08);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.15);
}

#tf-app .color-option-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

#tf-app .color-option-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  user-select: none;
}

#tf-app .form-submit-wrap {
  margin-top: 14px;
}

#tf-app .btn-submit {
  width: 100%;
  padding: 18px 24px;
  border-radius: 9999px;
  background-color: var(--accent-cedar);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.25s ease;
}

#tf-app .btn-submit:hover {
  background-color: var(--accent-cedar-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 168, 128, 0.5);
}

#tf-app .form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

#tf-app .form-note a {
  color: var(--accent-cedar);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Success Feedback Banner */
#tf-app .form-success-banner {
  display: none;
  text-align: center;
  padding: 32px 20px;
  border-radius: 20px;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--accent-cedar);
  margin-top: 24px;
  animation: fadeIn 0.4s ease;
}

#tf-app .form-success-banner.active {
  display: block;
}

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

#tf-app .success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-cedar);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

#tf-app .success-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

#tf-app .success-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 10. LUXURY FOOTER --- */
#tf-app .site-footer {
  background-color: #08090B;
  border-top: 1px solid var(--bg-glass-border);
  padding: 60px 0 40px;
  font-size: 0.85rem;
}

#tf-app .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: center;
}

@media (min-width: 768px) {
  #tf-app .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

#tf-app .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#tf-app .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-primary);
}

#tf-app .footer-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

#tf-app .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--text-secondary);
}

#tf-app .footer-link:hover {
  color: var(--accent-cedar);
}

#tf-app .footer-contact-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cedar);
}

#tf-app .footer-copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-glass-border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
