    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box
    }

    :root {
      --gold: #C9A84C;
      --gold-light: #F0D080;
      --gold-dark: #8B6914;
      --rose: #C97B6E;
      --silver: #A8B4BE;
      --white: #FAFAF8;
      --off-white: #F2F0EB;
      --cream: #EDE8DF;
      --text: #1A1A18;
      --text-muted: #6B6B67;
      --text-light: #9B9B97;
      --border: #E0DDD6;
      --radius: 10px;
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--white);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      letter-spacing: 0.02em
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(250, 250, 248, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 0 2rem;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

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

    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      color: var(--text);
      text-decoration: none
    }

    .nav-logo span {
      color: var(--gold)
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center
    }

    .nav-links a {
      font-size: 0.82rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s
    }

    .nav-links a:hover {
      color: var(--text)
    }

    .nav-cta {
      background: var(--text);
      color: var(--white) !important;
      padding: 0.5rem 1.2rem;
      border-radius: 100px;
      font-size: 0.78rem !important;
      letter-spacing: 0.1em !important
    }

    .nav-cta:hover {
      background: #333 !important;
      color: var(--white) !important
    }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 6rem 2rem 4rem;
      position: relative;
      overflow: hidden
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 70% 60% at 50% 40%, #F5EDD8 0%, var(--white) 70%);
      z-index: 0
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin-bottom: 6rem;
    }

    .hero-badge {
      display: inline-block;
      border: 1px solid var(--gold);
      color: var(--gold-dark);
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 0.4rem 1rem;
      border-radius: 100px;
      margin-bottom: 2rem
    }

    .hero h1 {
      font-size: clamp(3.5rem, 8vw, 7rem);
      font-weight: 300;
      line-height: 1;
      color: var(--text);
      margin-bottom: 1.5rem
    }

    .hero h1 em {
      font-style: italic;
      color: var(--gold)
    }

    .hero p {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 480px;
      margin: 0 auto 2.5rem;
      font-weight: 300
    }

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

    .btn-primary {
      background: var(--text);
      color: var(--white);
      border: none;
      padding: 0.85rem 2rem;
      border-radius: 100px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem
    }

    .btn-primary:hover {
      background: #333;
      transform: translateY(-1px)
    }

    .btn-outline {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
      padding: 0.85rem 2rem;
      border-radius: 100px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem
    }

    .btn-outline:hover {
      border-color: var(--text);
      background: var(--off-white)
    }

    .hero-scroll {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-light);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem
    }

    .scroll-line {
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, var(--gold), transparent);
      animation: scrollPulse 2s ease-in-out infinite
    }

    @keyframes scrollPulse {

      0%,
      100% {
        opacity: 0.4;
        transform: scaleY(1)
      }

      50% {
        opacity: 1;
        transform: scaleY(1.1)
      }
    }

    /* SECTION COMMON */
    section {
      padding: 6rem 2rem
    }

    .section-label {
      font-size: 0.72rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem
    }

    .section-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300;
      margin-bottom: 1rem
    }

    .section-sub {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 520px;
      font-weight: 300
    }

    .section-header {
      margin-bottom: 3.5rem
    }

    /* TYPES SECTION */
    .types-section {
      background: var(--off-white)
    }

    .types-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5px;
      background: var(--border);
      border: 1px solid var(--border)
    }

    .type-card {
      background: var(--white);
      padding: 2.5rem;
      position: relative;
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer
    }

    .type-card:hover {
      background: var(--text);
      color: var(--white)
    }

    .type-card:hover .type-label,
    .type-card:hover .type-desc,
    .type-card:hover .type-price {
      color: rgba(255, 255, 255, 0.7)
    }

    .type-card:hover .type-name {
      color: var(--white)
    }

    .type-card:hover .type-btn {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--text)
    }

    .type-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 4rem;
      font-weight: 300;
      color: var(--border);
      position: absolute;
      top: 1rem;
      right: 1.5rem;
      line-height: 1;
      transition: color 0.3s
    }

    .type-card:hover .type-number {
      color: rgba(255, 255, 255, 0.1)
    }

    .type-label {
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.75rem
    }

    .type-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 400;
      margin-bottom: 1rem;
      color: var(--text);
      transition: color 0.3s
    }

    .type-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      line-height: 1.7;
      transition: color 0.3s
    }

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

    .type-price strong {
      color: var(--text);
      font-weight: 500
    }

    .type-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.8rem;
      letter-spacing: 0.08em;
      color: var(--text);
      border: 1px solid var(--border);
      padding: 0.6rem 1.2rem;
      border-radius: 100px;
      transition: all 0.2s;
      background: transparent;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif
    }

    .type-best {
      position: absolute;
      top: 1.2rem;
      left: 1.5rem;
      background: var(--gold);
      color: var(--text);
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 0.3rem 0.75rem;
      border-radius: 100px;
      font-weight: 500
    }

    /* CONFIGURATOR */
    .config-section {
      background: var(--white)
    }

    .config-wrapper {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 3rem;
      align-items: start;
      max-width: 1100px;
      margin: 0 auto
    }

    .config-panel {
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      background: var(--white)
    }

    .config-tabs {
      display: flex;
      gap: 0;
      border-bottom: 1px solid var(--border)
    }

    .config-tab {
      flex: 1;
      padding: 1rem;
      text-align: center;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      border: none;
      background: var(--white);
      color: var(--text-muted);
      transition: all 0.2s;
      border-bottom: 2px solid transparent
    }

    .config-tab.active {
      color: var(--text);
      border-bottom-color: var(--gold);
      background: var(--white)
    }

    .config-tab:hover {
      color: var(--text)
    }

    /* TEETH */
    .teeth-container {
      padding: 2rem 1.5rem
    }

    .teeth-label {
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1rem;
      text-align: center
    }

    .teeth-row {
      display: flex;
      gap: 4px;
      justify-content: center;
      margin-bottom: 0.75rem;
      flex-wrap: nowrap
    }

    .tooth {
      width: 36px;
      height: 44px;
      border: 1.5px solid var(--border);
      border-radius: 6px 6px 8px 8px;
      cursor: pointer;
      transition: all 0.15s;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding-bottom: 4px;
      position: relative;
      background: var(--white);
      font-size: 0.6rem;
      color: var(--text-light)
    }

    .tooth:hover {
      border-color: var(--gold);
      background: rgba(201, 168, 76, 0.05)
    }

    .tooth.selected {
      background: var(--text);
      border-color: var(--text);
      color: var(--white)
    }

    .tooth.selected-gold {
      background: linear-gradient(135deg, #F7E5A0, #D3AD4A);
      border-color: #C9A84C;
      color: var(--white)
    }

    .tooth.selected-rose {
      background: linear-gradient(135deg, #FADAD4, #D48C7A);
      border-color: #C97B6E;
      color: var(--white)
    }

    .tooth.selected-silver {
      background: linear-gradient(135deg, #F2F5F8, #BAC3CC);
      border-color: #A8B4BE;
      color: var(--white)
    }

    .teeth-legend {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 1rem;
      flex-wrap: wrap
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.72rem;
      color: var(--text-muted)
    }

    .legend-dot {
      width: 10px;
      height: 10px;
      border-radius: 2px
    }

    /* STEP CONTROLS */
    .config-controls {
      padding: 1.5rem
    }

    .step {
      margin-bottom: 1.5rem
    }

    .step-title {
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 0.75rem
    }

    .option-pills {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap
    }

    .pill {
      border: 1px solid var(--border);
      padding: 0.45rem 1rem;
      border-radius: 100px;
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.15s;
      background: var(--white);
      color: var(--text-muted)
    }

    .pill.active,
    .pill:hover {
      border-color: var(--text);
      color: var(--text);
      background: var(--off-white)
    }

    .pill.active {
      background: var(--text);
      color: var(--white);
      border-color: var(--text)
    }

    .pill-gem {
      border-color: rgba(201, 168, 76, 0.4);
      background: rgba(201, 168, 76, 0.05)
    }

    .pill-gem.active {
      background: var(--gold);
      color: var(--text);
      border-color: var(--gold)
    }

    /* STYLE SELECT */
    .style-select {
      display: flex;
      gap: 0.5rem
    }

    .style-opt {
      flex: 1;
      border: 1px solid var(--border);
      padding: 0.6rem;
      border-radius: 8px;
      text-align: center;
      cursor: pointer;
      transition: all 0.15s;
      font-size: 0.78rem;
      color: var(--text-muted)
    }

    .style-opt.active {
      border-color: var(--gold);
      color: var(--text);
      background: rgba(201, 168, 76, 0.06)
    }

    .style-opt span {
      display: block;
      font-size: 1.1rem;
      margin-bottom: 0.2rem
    }

    /* PRICE SUMMARY */
    .price-summary {
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      position: sticky;
      top: 80px
    }

    .price-header {
      background: var(--text);
      color: var(--white);
      padding: 1.5rem
    }

    .price-header h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      font-weight: 300;
      margin-bottom: 0.25rem
    }

    .price-header p {
      font-size: 0.8rem;
      opacity: 0.6;
      letter-spacing: 0.05em
    }

    .price-breakdown {
      padding: 1.5rem;
      border-bottom: 1px solid var(--border)
    }

    .price-line {
      display: flex;
      justify-content: space-between;
      font-size: 0.85rem;
      margin-bottom: 0.75rem;
      color: var(--text-muted)
    }

    .price-line strong {
      color: var(--text)
    }

    .price-total {
      padding: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .price-amount {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      font-weight: 300
    }

    .price-note {
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-top: 0.25rem
    }

    .price-cad {
      font-size: 1rem;
      color: var(--text-muted);
      font-weight: 300
    }

    .deal-banner {
      margin: 0 1.5rem 1.5rem;
      background: rgba(201, 168, 76, 0.1);
      border: 1px solid rgba(201, 168, 76, 0.3);
      border-radius: 10px;
      padding: 1rem;
      text-align: center
    }

    .deal-banner strong {
      color: var(--gold-dark);
      font-size: 0.82rem;
      display: block;
      margin-bottom: 0.2rem
    }

    .deal-banner span {
      font-size: 0.75rem;
      color: var(--text-muted)
    }

    .upload-area {
      margin: 1.5rem;
      border: 1.5px dashed var(--border);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s
    }

    .upload-area:hover {
      border-color: var(--gold);
      background: rgba(201, 168, 76, 0.03)
    }

    .upload-icon {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
      color: var(--text-light)
    }

    .upload-text {
      font-size: 0.82rem;
      color: var(--text-muted)
    }

    .upload-sub {
      font-size: 0.72rem;
      color: var(--text-light);
      margin-top: 0.25rem
    }

    .add-cart-btn {
      width: calc(100% - 3rem);
      margin: 0 1.5rem 1.5rem;
      background: var(--text);
      color: var(--white);
      border: none;
      padding: 1rem;
      border-radius: 100px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      cursor: pointer;
      transition: all 0.2s
    }

    .add-cart-btn:hover {
      background: #333;
      transform: translateY(-1px)
    }

    .add-cart-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none
    }

    .prompt-text {
      font-size: 0.78rem;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 1.5rem;
      padding: 0 1.5rem
    }

    /* INFO CARDS */
    .info-section {
      background: var(--off-white)
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem
    }

    .info-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem
    }

    .info-icon {
      width: 40px;
      height: 40px;
      border: 1px solid var(--gold);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
      color: var(--gold);
      font-size: 1.1rem
    }

    .info-card h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem;
      font-weight: 400;
      margin-bottom: 0.5rem
    }

    .info-card p {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.7
    }

    /* FOOTER */
    footer {
      border-top: 1px solid var(--border);
      padding: 3rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: gap
    }

    .footer-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      letter-spacing: 0.15em
    }

    .footer-logo span {
      color: var(--gold)
    }

    footer p {
      font-size: 0.78rem;
      color: var(--text-light)
    }

    .selected-info {
      background: var(--off-white);
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--border)
    }

    .selected-count {
      font-size: 0.8rem;
      color: var(--text-muted)
    }

    .selected-count strong {
      color: var(--text)
    }

    .clear-btn {
      font-size: 0.75rem;
      color: var(--text-muted);
      background: none;
      border: none;
      cursor: pointer;
      text-decoration: underline
    }

    ::-webkit-scrollbar {
      width: 6px
    }

    ::-webkit-scrollbar-track {
      background: transparent
    }

    ::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 3px
    }

    .divider {
      width: 40px;
      height: 1px;
      background: var(--gold);
      margin: 1.5rem 0
    }

    .max-container {
      max-width: 1100px;
      margin: 0 auto
    }

    .notif {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: var(--text);
      color: var(--white);
      padding: 1rem 1.5rem;
      border-radius: 12px;
      font-size: 0.85rem;
      z-index: 999;
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.3s;
      max-width: 300px
    }

    .notif.show {
      transform: translateY(0);
      opacity: 1
    }

    .notif strong {
      display: block;
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.2rem
    }

    /* VISUALIZER */
    .viz-wrapper {
      background: linear-gradient(145deg, #FFFFFF 0%, #F8F6F0 100%);
      border-radius: 28px;
      padding: 1.5rem 1.2rem;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
      margin-bottom: 1.5rem;
      border: 1px solid rgba(0, 0, 0, 0.03);
    }

    #teeth-visualizer {
      width: 100%;
      max-width: 340px;
      height: auto;
      display: block;
      margin: 0 auto;
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12))
    }

    .viz-tooth {
      transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
      stroke: #E3DFD7;
      stroke-width: 1.5;
      cursor: pointer
    }

    .viz-tooth:hover {
      stroke: #C9A84C;
      stroke-width: 2.5;
      filter: drop-shadow(0 6px 12px rgba(201, 168, 76, 0.3));
      transform: scale(1.02);
      transform-origin: center
    }

    .viz-tooth.viz-gold {
      fill: url(#goldGrad);
      stroke: #B38B40;
      stroke-width: 1.8
    }

    .viz-tooth.viz-rose {
      fill: url(#roseGrad);
      stroke: #B66354;
      stroke-width: 1.8
    }

    .viz-tooth.viz-silver {
      fill: url(#silverGrad);
      stroke: #8C98A3;
      stroke-width: 1.8
    }

    .viz-tooth:not(.viz-gold):not(.viz-rose):not(.viz-silver) {
      fill: url(#whiteToothGrad);
      stroke: #E0DCD3
    }

    .viz-tooth-inactive {
      opacity: 0.4;
      filter: grayscale(0.1);
      transition: opacity 0.2s
    }

    .viz-tooth-inactive:hover {
      opacity: 0.65;
      stroke: #AEA89E
    }

    .tooth-window,
    .tooth-star {
      pointer-events: none
    }

    @keyframes softPulse {
      0% {
        stroke-width: 1.5
      }

      50% {
        stroke-width: 2.2
      }

      100% {
        stroke-width: 1.5
      }
    }

    .viz-tooth:active {
      animation: softPulse 0.2s ease
    }

    .price-preview {
      background: rgba(201, 168, 76, 0.1);
      border: 1px solid rgba(201, 168, 76, 0.3);
      border-radius: 40px;
      padding: 0.5rem 1rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text)
    }

    .price-preview span {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--gold-dark)
    }

    .select-all-btn {
      background: var(--off-white);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 0.35rem 1rem;
      font-size: 0.7rem;
      cursor: pointer;
      transition: all 0.2s;
      font-family: 'DM Sans', sans-serif
    }

    .select-all-btn:hover {
      background: var(--gold-light);
      border-color: var(--gold);
      color: var(--text)
    }

    @media(max-width:768px) {
      .config-wrapper {
        grid-template-columns: 1fr
      }

      .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 64px);
        background: var(--white);
        border-left: 1px solid var(--border);
        padding: 2rem;
        transition: right 0.3s ease;
        align-items: flex-start;
      }
      
      .nav-links.active {
        right: 0;
      }

      .menu-btn {
        display: block;
      }

      .hero h1 {
        font-size: 3rem
      }

      .hero-scroll {
        display: none;
      }

      footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center
      }

      .price-summary {
        position: static
      }

      .viz-wrapper {
        padding: 0.8rem
      }

      .price-preview {
        margin-top: 0.5rem
      }
    }
